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
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Graph | igp |
Input GraphPageBase |
|
The graph to export. The default is the active graph. |
File Type | type |
Input int |
|
Specify the export image type. Option list
|
File Name | name |
Input string |
|
Specify the file name of the exported graph. |
File Path | path |
Input string |
|
Specify a path to store the exported image file. By default, user files folder will be used. |
Actual Size | size |
Input string |
|
It is the actual size of the graph. This variable is read-only. |
Width in Pixels | width |
Input int |
|
Specify the width of the image in pixels. |
Height in Pixels | height |
Input int |
|
Specify the height of the image in pixels. |
Specify DPI | res |
Input int |
|
Specify DPI |
Frames Per Sec | fps |
Input double |
|
Specify the number of frames for per second. |
FourCC | fourcc |
Input string |
|
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). |
Move by | shift |
Input int |
|
Rate at which frames are captured (1 = all frames captured). |