Skip to main content

TcxBaseImageList.SourceDPI Property

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

Declaration

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