KiXforms Class Library |
ImageAlign Property |
Gets or sets the alignment of an image that is displayed in the control.
object.ImageAlign [ = Long ]
object.ImageAlign = "String"
One of the following values:
Long | String | Description |
---|---|---|
1 | TopLeft | Image is vertically aligned at the top, and horizontally aligned on the left. |
2 | TopCenter | Image is vertically aligned at the top, and horizontally aligned at the center. |
4 | TopRight | Image is vertically aligned at the top, and horizontally aligned on the right. |
16 | MiddleLeft | Image is vertically aligned in the middle, and horizontally aligned on the left. |
32 | MiddleCenter | Image is vertically aligned in the middle, and horizontally aligned at the center. |
64 | MiddleRight | Image is vertically aligned in the middle, and horizontally aligned on the right. |
256 | BottomLeft | Image is vertically aligned at the bottom, and horizontally aligned on the left. |
512 | BottomCenter | Image is vertically aligned at the bottom, and horizontally aligned at the center. |
1024 | BottomRight | Image is vertically aligned at the bottom, and horizontally aligned on the right. |
This property enables you to align an image within the boundaries of the control to ensure that the image is properly displayed. You can add an image to a control using the Image property. Images displayed in the control cannot be stretched or shrunk to fill the control if the control is larger or smaller than the image.
Applies To:
Label
The CHM file was converted to HTML by chm2web software. |