Platforms to show: All Mac Windows Linux Cross-Platform

WindowsDisplayMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 18.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for details on displays.
Example
// list all displays on Windows with size, position and DPI
Var lines() As String
For Each d As WindowsDisplayMBS In WindowsDisplayMBS.Displays
lines.Add d.DeviceName + ": " + d.Width.ToString + " x " + d.Height.ToString + _
" at " + d.X.ToString + "/" + d.Y.ToString + ", " + d.WidthDPI.ToString + " dpi, scale " + d.LogScaleFactor.ToString
Next

MessageBox String.FromArray(lines, EndOfLine)

This class has no subclasses.

Blog Entries

Xojo Developer Magazine

Videos

Release notes

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS Win Plugin.


WindowsDiskChangeMBS   -   WindowsDNSRecordAAAAMBS


The biggest plugin in space...