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.
Check this checkbox to convert the text element into a path to make sure even though the target PC doesn't support the corresponding font, the text can be displayed correct. Otherwise, the default font will be used to display which would cause some character font inconsistent with others.
Available for vector format type (i.e. SVG, EMF)
Specify the graph DPI of the exported graph.
Specify the size factor of the exported graph when the image type is EMF and SVG.
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.