Image - ImageAlignment Property
Position of the image within the view port
Member of Image (PRIM_IMAG)
Data Type - Enumeration
Details
The ImageAlignment property governs the position of the Image within the control.
When the control resizes, the image will follow the alignment rules.
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 |
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 |