Set unit for graph layers.
//Before run it please check that there is a active Graph
laysetunit layer:=1 unit:=inch;
laysetunit igp:=Graph1 layer:="2:4" unit:=page;
laysetunit igp:=Graph1 layer:=2:4 unit:=page;
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 |
---|---|---|---|---|
Input Graph | igp |
Input GraphPage |
|
Specifies the graph to manipulate. |
Layer | layer |
Input string |
|
Specifies the layer(s) to manipulate. Note: to specify multiple layers, use colon to separate the first layer and the last layer to manipulate. For example, "1:3" means the first, second and the third layer. |
Unit | unit |
Input int |
|
Specifies the unit for the specified layers.
|
This X-Function can be used to set the unit for several graph layers.