4.4.2.1 Screenshot

A screenshot of the current main window (see section 3.3) can be exported in PNG format to a user-specified file by selecting the ``Screenshot" option in the Export submenu in the File menu. This can also be achieved by clicking the button with the camera icon in the Visualization Toolbar (see chapter 5). The application with them prompt the user to specify a file to save the screenshot to. The resolution of the screenshot image will be the same as that of the actual application when the image is taken. However, the 3D display (see chapter 5) does support capturing screenshots at arbitrarily large resolutions. To obtain an a 3D screenshot of arbitrary resolution, enter the command ViewerScreenshot in the Scripting Window (see chapter 11) with the desired filename, desired width, and desired height as the parameters to the command:

ViewerScreenshot("screenshot.png", 3000, 3000)

For more details on this command, please refer to the scripting API documentation.