PanWinPaintScaling property (ILEADRasterView)
PaintScalingConstants PaintScaling | |
Overview |
Refer to Using a PanWindow. |
Remarks
(Persistent property, available at design time) Type of resizing to use when painting the PanWindow.
Default is PAINTSCALING_NORMAL, which is the fastest.
Possible values are:
Value |
Meaning |
PAINTSCALING_NORMAL |
[0] normal resize (fastest) |
PAINTSCALING_RESAMPLE |
[1] bilinear interpolation (slower than PAINTSCALING_NORMAL, but produces better looking results) |
PAINTSCALING_BICUBIC |
[2] bicubic interpolation (slowest, best quality) |
For 1-bit images, the PanWinPaintScaling is considered only if PanWinBitonalScaling is BITONALSCALING_NORMAL. Otherwise, the FavorBlack and ScaleToGray options take precedence over PanWinPaintScaling.
PAINTSCALING_BICUBIC produces the same result as PAINTSCALING_RESAMPLE when zooming out on an image.
See Also