Skip to main content

TcxCustomCanvas.ImageStretchQuality Property

Specifies the image interpolation quality level for draw operations on the canvas.

Declaration

property ImageStretchQuality: TcxCanvasImageStretchQuality read; write;

Property Value

Type
TcxCanvasImageStretchQuality

Remarks

An image draw routine stretches or shrinks a source bitmap if it does not match a destination area of the canvas in size. Such image resize operations involve two-dimensional pixel color interpolations to form a different-sized pixel array that represents an original image.

Use the ImageStretchQuality property to switch between available quality levels of pixel color interpolation that provide a different balance between image quality and performance of all image draw methods that the TcxCustomCanvas class and its descendants implement. Refer to the TcxCanvasImageStretchQuality type description for detailed information on all available options.

Note

The ImageStretchQuality property value does not affect a draw operation that does not stretch or shrink a source bitmap.

The ImageStretchQuality property’s default value is isqStandard.

See Also