ExportImage (Schematic Editor)

To export a picture for a specified page of the current design to a file. The image size can also be specified. The filename extension determines the type of image exported.

UI Access None.
Parameters
Name Type Description
<filename> String The name of the file, with format-specific extension. Extensions supported are: bmp, gif, jpg, jpeg, png, tif, tiff.
<pagenum> Integer The page number of the current schematic. Page numbers start at 1. If the number is out of range, the current schematic page will be printed.
<dx> Integer The width of the image. If dx is less than 160, 160 will be used for the width.
<dy> Integer The height of the image. If dy is less than 160, 160 will be used for the height.
Return Value None
Note:

For more information about the component name, schematic IDs, and formats, see the section Editor Scripting IDs.

 

Python Syntax ExportImage (<filename>, <pagenum>, <dx>, <dy>)
Python Example

oEditor.ExportImage ("c:\mysch.png", 1, 800, 400)