Gets the horizontal conversion ratio of physical pixels and logical pixels.
|real||The horizontal conversion ratio of physical pixels and logical pixels.|
window w = new window();
real scaleFactor = w.DpiScaleFactorX;
How to convert between physical pixels and logical pixels is follows.
physical pixels / DpiScaleFactorX = logical pixels
logical pixels * DpiScaleFactorX = physical pixels
This getter was added in the Ver 22.214.171.124.
Links for reference