Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCanvas.ImageStretchQuality Property

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

#Declaration

Delphi
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