Set position of one or more graph layers.
//Before run this XF, please check that there is a active graph
laysetpos igp:=Graph1 layer:="1:0" left:=20;
laysetpos layer:=2 top:=50 unit:=page;
laysetpos igp:=Graph1 layer:=1:0 left:=20;
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 be manipulated. For example, "1:3" means the first, second and the third layer. |
Left | left |
Input double |
|
Specifies the position of the layer frame relative to the left side of the page. |
Top | top |
Input double |
|
Specifies the position of the layer frame relative to the top side of the page. |
Unit | unit |
Input int |
|
Specifies the unit for the left variable and the top variable.
|
This X-Function can be used to set the position of specifies graph layers. You can also use it to align layers.