TakeScreenshot

TakeScreenShot saves the current screen as a bitmap file. The file will be saved into the current directory. The parameter basename allows you to set the name of the file to be created. It will not overwrite a file, instead it will add a number onto the end of basename.

Also See

 * OpenGraphicsWindow
 * Bitmap