2.5.1 add_graph_to_graph

Brief Information

Add a graph to layout window

Command Line Usage

1. add_graph_to_graph graph1 layout1 //only short name is accepted

2. add_graph_to_graph igname:=graph1 ogname:=layout1

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
Name of Graph Add to igname

Input

string

<unassigned>

Specifies the short name of the graph to be pasted.

Name of Graph to Add ogname

Output

string

Specifies the short name of layout window add onto.

Description

This X-Function is invoked from the context menu on a layout window which pastes a selected graph as an EMF object on it.

When it is executed, the cursor becomes like Add graph to graph help English files image002.jpg, and you can select a region with the mouse to specify the size and position of the EMF object.

Example

//After executing the following script, click in layout1 window or drag mouse to draw a rectangle in layout window to add graph1 to layout1 window
//only graph window and layout window short name is accepted.
add_graph_to_graph graph1 layout1;

Related X-Functions

add_table_to_graph, add_wks_to_graph


Keywords:EMF