comp • gb.qt4 • desktop • screenshot

Desktop.Screenshot (gb.qt4)

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.