dabo.ui.saveScreenShot(obj=None, imgType=None, pth=None)
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.
Allowable image types are