Home Notices Documents Classes Download Others Rice
Classes  >  window  >  DpiScaleFactorY
window class : DpiScaleFactorY getter

Description

Gets the vertical conversion ratio of physical pixels and virtual pixels.

Syntax

windowInstance.DpiScaleFactorY

Arguments

None

Return value

ClassDescription
realThe vertical conversion ratio of physicals pixel and virtual pixels.

Sample code

1:

window w = new window();

2:

real scaleFactor = w.DpiScaleFactorY;

Notes

How to convert between physical pixels and logical pixels is follows.

physical pixels / DpiScaleFactorY = logical pixels

logical pixels * DpiScaleFactorY = physical pixels


This getter was added in the Ver 1.0.0.1.

Links for reference

None

Copyright © Rice All rights reserved.