2.5.13 insert_wks_to_layer


Brief Information

Insert worksheet as linked image into a graph or layout

Additional Information

Minimum Origin Version Required: 9.1 SR0


Command Line Usage

1.insert_wks_to_layer name:=Book1 table:=1;//Insert the active worksheet in Book1 to the current active graph/layout window as a table object

2.insert_wks_to_layer name:=[Book1]2!;//Insert sheet2 in Book1 to the current active graph/layout window as a bitmap

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Name of Worksheet to Add name

Input

string

<unassigned>
Specify the worksheet name to be added into the graph
Name of GraphObject ogname

Output

string

This variable is read-only. It holds the name of the graph object which is inserted to the graph.
Insert as Table Object table

Input

int

0
Specify whether to insert the worksheet as a table object (set table = 1) or as a bitmap (set table = 0).

Description

This X-Function is used to insert a worksheet to the active graph layer or layout page, you can choose to insert it as a table object or as a bitmap.

Related X-Functions

add_wks_to_graph,add_table_to_graph, insert_graph_to_layer