Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Screen.Scale

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

Parameters

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

Result

Returns number or error.

Description

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

Example Databases

Blog Entries

This function checks for a license.

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


Screen.Left - Screen.Top