PanWinPaintScaling property (Main Control)
Builder Syntax |
TPaintScaling PanWinPaintScaling |
Delphi Syntax |
PanWinPaintScaling: TPaintScaling |
Overview |
Refer to Using a PanWindow. |
Remarks
(Persistent property, available at design time) Type of resizing to use when painting the PanWindow.
Default is psNormal, which is the fastest. Possible values are:
Value |
Meaning |
psNormal |
normal resize (fastest) |
psResample |
bilinear interpolation (slower than psNormal, but produces better looking results) |
psBicubic |
bicubic interpolation (slowest, best quality) |
For 1-bit images, the PanWinPaintScaling is considered only if PanWinBitonalScaling is btsNormal. Otherwise, the FavorBlack and ScaleToGray options take precedence over PanWinPaintScaling.
psBicubic produces the same result as psResample when zooming out on an image.
See Also