Export Browser Graph as video file (GIF, TIFF, AVI).
1. expG2video name:="<short name>" path:="<User Files Folder> res:=600;"
2. expG2video name:=Graph_001 path:="C:\Users\Documents\OriginLab\User Files" width:=500;
3. expG2video type:=2 name:=fourcc_test_wmv2 path:="C:\Users\user\Documents\OriginLab\User Files" fourcc:=wmv2;
Please refer to the page for additional option switches when accessing the x-function from script
Input
GraphPageBase
The graph to export. The default is the active graph.
int
Specify the export image type.
Option list
string
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 width of the image in pixels.
Specify the height of the image in pixels.
Specify DPI
double
Specify the number of frames for per second.
For scripting AVI output. Supply the FourCC code (example in Command Line Usage, above). A few FourCC codes can be found in the LabTalk Reference.
Note: The Codec node, visible in the dialog, will be hidden from LabTalk access. The fourcc node will be used in LabTalk and this is what is output when you Generate Script (from the Dialog Theme menu).
Rate at which frames are captured (1 = all frames captured).
expG2img, expImage,expGraph