dxDefaultDPIValues Constant
Specifies the set of standard system DPI values.
Declaration
const dxDefaultDPIValues: array[0..7] of Integer = (96, 120, 144, 168, 192, 216, 240, 288);
Returns
Type |
---|
array[0..7] of Integer |
Remarks
Standard system DPI values corresponding to certain form scale factor values, include:
DPI Value | Scale Factor | Recommended Image List Name Pattern | Example UI Icon Bitmap Dimensions, in pixels |
---|---|---|---|
96 | 100% (that is, unscaled UI) | <MyImageList> | 16x16 |
120 | 125% | <MyImageList>120 | 20x20 |
144 | 150% | <MyImageList>144 | 24x24 |
168 | 175% | <MyImageList>168 | 28x28 |
192 | 200% | <MyImageList>192 | 32x32 |
216 | 225% | <MyImageList>216 | 36x36 |
240 | 250% | <MyImageList>240 | 40x40 |
288 | 300% | <MyImageList>288 | 48x48 |
DevExpress DPI-aware forms (that is, instances of the TdxCustomForm and TdxForm class descendants) iterate through this set of standard DPI values to select the most appropriate image list by its name. For more information, refer to the TdxForm.UpdateImageLists procedure description and the Preparing and Managing UI Icon Lists topic for more information.
See Also