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

FSmoothlyStretchImages Variable

Enables anti-aliasing for resized images in reports.

#Declaration

Delphi
var FSmoothlyStretchImages: Boolean = True;

#Variable Value

Type
Boolean

#Remarks

Resizing images in reports may produce distortion artifacts, known as aliasing. To improve the quality of resized images, you can enable anti-aliasing for them by setting the FSmoothlyStretchImages variable to True.

The table below shows how variable values affect the appearance of images.

Value Description Sample Image Magnified Sample Image
True Images are resized with anti-aliasing.
False Images are resized without anti-aliasing.

If enabled, anti-aliasing is applied to all images that are drawn using the ExpressPrinting System renderer’s methods (TdxPSReportRenderer.DrawGraphic and TdxPSReportRenderer.DrawGraphicEx) or a report link’s DrawGraphic method. So, to custom paint images with anti-aliasing, use any of the above methods in your OnCustomDraw~ event handlers.

Note

Since the methods mentioned above are not used when painting metafile images and rich edit controls, anti-aliasing cannot be applied to them.

The default value of the FSmoothlyStretchImages variable is True.

See Also