application class : DpiScaleFactorX getter
Description
Returns the horizontal conversion ratio of physical pixels and logical pixels.
Syntax
instance.DpiScaleFactorX
Arguments
None.
Return value
Class | Description |
real | The horizontal conversion ratio |
Sample code
1: | application app; |
2: | real scaleFactor = app.DpiScaleFactorX; |
Notes
How to convert between physical pixels and logical pixels is follows.
physical pixels / DpiScaleFactorX = logical pixels
logical pixels * DpiScaleFactorX = physical pixels
Links for reference
None.