File: Export Graph as Image...
Export graph with a simple dialog.
1.expG2img type:=jpg name:="<short name>" path:="C:\Users\Documents\OriginLab\User Files" width:=2000;
2.expG2img type:=emf name:="<PE parent1>-<long name>" path:="C:\Users\Documents\OriginLab\User Files" ratio:=60;
Please refer to the page for additional option switches when accessing the x-function from script
The graph to export. The default is the active graph.
Specify the export image type.
Specify the file name of the exported graph.
Specify a path to store the exported image file. By default, user files folder will be used.
It is the actual size of the graph. This variable is read-only.
Specify the graph DPI of the exported graph.
Specify the size factor of the exported graph when the image type is EMF .
Specify the width of the image in pixels. By default, the actual graph size will be used.
Specify the height of the image in pixels. By default, the actual graph size will be used.
This X-Function is a simpler tool to export the current graph as a raster image file.
If you want to do some advanced settings during exporting the graphs, you are supposed to use the expGraph instead.