PaintScaling property (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

Leadvcl::TPaintScaling PaintScaling

Delphi Syntax

PaintScaling: TPaintScaling

Overview

Refer to Using the Image List Control.

Remarks

(Persistent property, available at design time) Type of resizing to use when painting in the ImageList control.

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 PaintScaling is considered only if BitonalScaling is btsNormal. Otherwise, the FavorBlack and ScaleToGray options take precedence over PaintScaling.

psBicubic produces the same result as psResample when zooming out on an image.

See Also

Elements:

BitonalScaling property

Topics:

Raster Images: Displaying Images