Desktop.Screenshot (gb.desktop)
Static Function Screenshot ( [ X As Integer, Y As Integer, Width As Integer, Height As Integer ] ) As Picture
Return a screenshot of the desktop as a
picture object.
If the
X,
Y,
Width,
Height arguments are specified, they define the part of the screen that will be returned.
If they are not defined, the entire desktop is returned.