From Xojo Documentation

Revision as of 19:12, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Double )
DoubleValue = aDesktopDisplay.ScaleFactor

New in 2021r3

Supported on Desktop.

The ScaleFactor for the display.


A ScaleFactor of 1.0 indicates that each point refers to a single pixel on the display. Higher values indicate a HiDPI display of some kind is being used.

Sample Code

Var scale As Double = DesktopDisplay.DisplayAt(0).ScaleFactor