CenterImage property (ILEADRasterView)
VARIANT_BOOL CenterImage | |
Overview |
Refer to Displaying an Image. |
Remarks
(Persistent property, available at design time) Enables or disables the automatic adjustment of display rectangles in order to center the image in the control's client area, when the width and/or height of the destination rectangle is smaller than the width and/or height of the client area.
For example, this can be used to center a small image when it is displayed in a control that is larger than the image's dimensions. This can also be used in conjunction with PaintSizeMode property and PaintZoomFactor property to center an image when the zoomed display dimensions are smaller than the control's dimensions.
See Also