Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  


Queries scale of screen.

Component Version macOS Windows Linux Server iOS SDK
Screenshot 9.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Screen.Scale" { ; Screen ID } )   More


Parameter Description Example Flags
Screen ID The zero based index of the screen to to target.
Default is main screen.
0 Optional


Returns number or error.


Queries scale of screen.
Normal screens have 1, retina screens have 2 and on iPhone some have even 3.
Windows has same scale factor for all screens, which can be fractions like 1.5.

See also

Release notes

Blog Entries

Created 21st March 2019, last changed 20th November 2020

Screen.Left - Screen.Top

Feedback: Report problem or ask question.

Start Chat