PaintScaling property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

PaintScalingConstants PaintScaling

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Type of resizing to use during painting.

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

PAINTSCALING_BICUBIC produces the same result as PAINTSCALING_RESAMPLE when zooming out on an image.

See Also

Elements:

BitonalScaling property

Topics:

Raster Images: Displaying Images