Small Basic Reference Documentation: Desktop Object

Small Basic: Reference Documentation > Desktop
 


http://smallbasic.com/img/object_32.png

Desktop

This class provides methods to interact with the desktop.

Properties

http://smallbasic.com/img/property_16.png Width (This property is read-only.)

Desktop.Width

Gets the screen width of the primary desktop.

http://smallbasic.com/img/property_16.png Height (This property is read-only.)

Desktop.Height

Gets the screen height of the primary desktop.

Operations

http://smallbasic.com/img/method_16.png SetWallPaper

Desktop.SetWallPaper(fileOrUrl)

Sets the specified picture as the desktop's wallpaper. This file could be a local file or a network file or even an internet url.

fileOrUrl

The filename or url of the picture.

Returns

Nothing

 

See Also