Form - ImageAlignment Property

Position of the image within the form

Member of Form (PRIM_FORM)

Data Type - Enumeration

Details

The ImageAlignment property governs the size and position of the Image specified for the form.
 
When the form 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

LANSA Version 15, April 2020