2.14.1.14 window_saveas


Menu Information

File: Save Window as

Brief Information

Save a graph, workbook or matrix window to file

Command Line Usage

1. window_saveas pg:=Graph1 fname:="OffsetY" filepath:="C:\My Windows";

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Page pg

Input

Page

<active>
Specify the page which will be saved as file. The active page is used by default if no page is specified.
File Path filepath

Input

string

<auto>
Specify the file path. The default path is the User Files Folder. Note that the path should be exist, or the script gives an error.
File Name fname

Input

string

<auto>
Specify file name. Default is page short name.
File Type ftype

Input

int

0
Specify file type.
  • 0: Workbook (*.ogwu), Graph (*.oggu) or Matrix (*.ogmu)
  • 1: Workbook (*.ogw), Graph (*.ogg) or Matrix (*.ogm)
Preview preview

Input

string

<unassigned>
Specify the comment of the page.
Comment comment

Input

string

<unassigned>
Specify the preview Image for the file. This is optional.

Related X-Functions

template_saveas