EXPORTBMP
Exports any graphic window as a BMP file.
Syntax:
EXPORTBMP winnum, filename, timeout
Discussion:
The winnum value may be either an integer or an expression that evaluates to an integer. The integer winnum corresponds to the graphic window number that should be saved to a file. OpticStudio numbers windows sequentially as they are opened, starting with 1. Any closed windows are deleted from the window list, without renumbering the windows which remain. Any windows opened after another window has been closed will use the lowest window number available. The filename should be the full file name including the path, but with no extension. OpticStudio will automatically add the BMP extension. The optional timeout parameter specifies a time timeout in milliseconds. For some complex graphics, a timeout is required to allowed the graphic to be completely redrawn and the screen capture to complete. If the BMP files appear incomplete, try a timeout value of 500 - 2500 milliseconds. See also EXPORTJPG .
Example:
EXPORTBMP 1, "C:\TEMP\MYBMPFILE" EXPORTBMP k, A$
Next: