Set ratio of graph layer width to height
1. laysetratio igp:=Graph1 destlayer:="1:0" ratio:=1.5;
2. laysetratio destlayer:="1" ratio:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Input
GraphPage
Specifies the graph to manipulate.
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.
double
Specifies the new ratio of layer width to layer height for each destination layer.
This X-Function can be used to set the ratio of width to height of several graph layers. If the ratio of the layer width to the layer height is less than the specified ratio, the layer width will be kept unchanged while the layer height will be reset according to the new ratio. If the ratio of the layer width to the layer height is more than the new ratio, the layer height will be kept unchanged while the layer width will be adjusted.
laymanage