PaintSizeMode property (ILEADRasterView)
|
PaintSizeModeConstants PaintSizeMode | |
|
Overview |
Refer to Displaying an Image. |
Remarks
(Persistent property, available at design time) Determines the behavior of the AutoSetRects property, which automatically adjusts the display rectangles. It adjusts the destination rectangle as follows:
|
Setting |
Description |
|
PAINTSIZEMODE_NORMAL |
Width is the bitmap width. Height is the bitmap height. |
|
PAINTSIZEMODE_STRETCH |
Width is the control's client area width. Height is the client area height. The aspect ratio is not preserved. |
|
PAINTSIZEMODE_FITSIDES |
Width is the control's client area width. Height is set proportionally to maintain the aspect ratio. The AutoScroll property implements the vertical scroll bar. |
|
PAINTSIZEMODE_FIT |
The largest possible width or height is set to the control's client area width or height. The remaining dimension is set proportionally to maintain the aspect ratio. |
|
PAINTSIZEMODE_ZOOM |
The width and height are set to the bitmap width and height multiplied by the PaintZoomFactor property. |
See Also
|
Elements: |
AutoRepaint property, AutoSetRects property, PaintZoomFactor property, AutoScroll property, AutoSize property |
|
Topics: |