<< Click to Display Table of Contents >> Navigation: OLE Automation > Application > Methods > SpaceObServer.Application.ChartExportEx |
Description
Works like ChartExport, but you can configure the dimensions of the exported image.
Syntax
ChartExportEx (ExportPath : <String>, ChartType : <String>, Width : <Integer>, Height : <Integer>)
Parameters
ExportPath |
The full path of the export file (including the exported file name). |
||||||||||||||||||||||
ChartType |
Defines the chart type to be exported. Available chart types are:
|
||||||||||||||||||||||
Width |
The width of the exported image in pixel. |
||||||||||||||||||||||
Height |
The height of the exported image in pixel |
Example
1.)
$SOS.ChartExportEx("C:\Temp\SOS\barchart.bmp", "barchart", "800", "600") #PowerSHell
SOS.ChartExportEx "C:\Temp\SOS\barchart.bmp", "barchart", 800, 600 'VBS
Exports the bitmap graphic of a bar chart to "C:\Temp\SOS\barchart.bmp" with a resolution of 800x600 pixel.