2.7.8 expG2video


Brief Information

Export graph as a raster file

Command Line Usage

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;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Graph igp

Input

GraphPageBase

<active>

The graph to export. The default is the active graph.

Image Type type

Input

int

0

Specify the export image type.

Option list

  • 0=gif:GIF
  • 1=tif:TIFF
File Name name

Input

string

<long name>

Specify the file name of the exported graph.

File Path path

Input

string

path$

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.

DPI res

Input

int

300

Specify the graph DPI of the exported graph.

Width in Pixels width

Input

int

0

Specify the width of the image in pixels.

Height in Pixels height

Input

int

0

Specify the height of the image in pixels.

Related X-Functions

expG2img, expImage,expGraph