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

Elements:

OnPanWin event, PanWinHeight property, PanWinIcon property, PanWinPaintDither property, PanWinPaintPalette property, PanWinPointer property, PanWinRectColor property, PanWinSysMenu property, PanWinTitle property, PanWinWidth property, PanWinX property, PanWinY property, ShowPanWin method

Topics:

Raster Images: Displaying and Printing