ExportToImage Method (Python)
Exports this output item in the specified image format.
- This method can only be used for exporting charts,
trees, and Model Viewer items. To export other item types, use the
ExportToDocument
method. - When used for a Model Viewer item, the method exports the view displayed in the Viewer. You can export all views using the ExportAllViews Method (Python).
Syntax
SpssOutputItem.ExportToImage(fileName,format)
Format | Description |
---|---|
SpssClient.ChartExportFormat.bmp | Windows bitmap |
SpssClient.ChartExportFormat.emf | Enhanced metafile |
SpssClient.ChartExportFormat.eps | Enhanced postscript |
SpssClient.ChartExportFormat.jpg | JPG file |
SpssClient.ChartExportFormat.png | PNG file |
SpssClient.ChartExportFormat.tiff | Tagged image file |