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

TcxBaseImageList.SourceDPI Property

Specifies the monitor DPI value for which the stored images are created.

#Declaration

Delphi
property SourceDPI: Integer read; write;

#Property Value

Type
Integer

#Remarks

The image list uses this property value to calculate the dimensions of the stored images (in pixels) on a screen depending on its DPI. The image on-screen width and height are calculated as the image source width and height values multiplied by the ratio between the monitor DPI and the SourceDPI property value.

If you need to avoid the automatic on-screen size scaling of the stored images in a running application, set this property to the DPI value of the screen that displays the application. Note that the minimum and maximum SourceDPI property values are determined by the dxMinDPI and dxMaxDPI global constants, respectively.

The SourceDPI property is initialized to the dxDefaultDPI global constant value.

See Also