Image - ImageAlignment Property
Specify where the image will be shown within the control
Member of Image (PRIM_SIMG)
Data Type - Enumeration

Details


The ImageAlignment property governs the size and position of the Image within the control.
When the control resizes, the image will follow the alignment rules.
With the exception of Stretch, all images will retain their designed size.

Allowed Values

Enum Value

Description

BottomCenter

Horizontally centered and attached to the bottom edge

BottomLeft

Left justified and attached to the bottom edge

BottomRight

Right justified and attached to the bottom edge

Center

Horizontally and vertically centered

CenterLeft

Left justified and vertically centered

CenterRight

Right justified and vertically centered

Stretch

Image will fill the form. Aspect ratio is not maintained

TopCenter

Horizontally centered and attached to the upper edge

TopLeft

Left justified and attached to the upper edge

TopRight

Right justified and attached to the upper edge

See also

All Component Classes
Technical Reference