Dabo.ui.saveScreenShot

From Dabo Wiki
Jump to: navigation, search

Signature:

dabo.ui.saveScreenShot(obj=None, imgType=None, pth=None)

Description:

Takes a screenshot of the specified object and writes it to a file, converting it to the requested image type. If no object is specified, the currently active form is used. If a path is specified, the file is saved to that location; otherwise, the SaveAs dialog is displayed, allowing you to select a directory, file name and image type.

Returns:

None

Comments:

Allowable image types are png, jpg, bmp, and pcx.