sysGetDesktopWidth

Category: System

Syntax:

sysGetDesktopWidth:Int()



Returns

Int



Summary

Returns the width of the display screen in pixels.

Takes no parameters.

Returns the width in pixels of the monitor in use - the one sysGetMonitor reports, which is the primary monitor unless sysSetMonitor has chosen another. Can be called before b2dGraphics.

For a specific screen on a multi-monitor desktop use sysGetMonitorWidth instead.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn