Platforms to show: All Mac Windows Linux Cross-Platform
Back to ResolutionMBS class.
ResolutionMBS.Depth as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Can be 8, 16 or 32. Other screen depths are not well supported.
(Read only property)
ResolutionMBS.displaynum as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The number is always between 0 and DisplayCount-1, where 0 is the main monitor.
(Read only property)
ResolutionMBS.Height as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Sometimes Hz is 0, this is when Windows itself does not know the frequency (at least it is so in my emulation, Virtual PC 3.0 with Win95).
(Read only property)
ResolutionMBS.issafe as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
On Mac OS X till now no ResolutionMBS can be called safe.
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Should be 0 for the main monitor.
(Read only property)
ResolutionMBS.ResolutionNum as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
ResolutionNum is the number of the DisplayMBS which always is between 0 and GetDisplayMBS(DisplayNum).ResolutionCount(false)-1.
On Windows: dis.GetCurrentResolution.resolutionNum is sometimes also -1.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Should be 0 for the main monitor.
(Read only property)
ResolutionMBS.Width as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read only property)
The items on this page are in the following plugins: MBS Util Plugin.