2.5.21 laylink

Brief Information

Link graph layers to specified layer

Command Line Usage

1.laylink igp:=graph1 destlayers:="2:0" XAxis:=1;

2.laylink igp:=Graph1 igl:=2 destlayers:=3 YAxis:=1 unit:=link;

3.laylink igp:=graph1 destlayers:=2:0 XAxis:=1;

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
Input Graph igp

Input

GraphPage

<active>

Specifies the graph to manipulate.

Link To igl

Input

GraphLayer

layer1

Specifies the source layer, to which the destination layers will be linked to.

Layers to link destlayers

Input

string

<active>

Specifies the destination layers, which will be linked to the source layer.

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.

X Axis Link XAxis

Input

int

-1

Specifies whether to link the X axes scales.
Option list:

  • -1
    Keep the current link setting
  • 0
    Do not link X axis to the source layer
  • 1
    Link X axis to the source layer
Y Axis Link YAxis

Input

int

-1

Specifies whether to link the Y axes scales.
Option list:

  • -1
    Keep the current link setting
  • 0
    Do not link Y axis to the source layer
  • 1
    Link Y axis to the source layer
Unit unit

Input

int

link

Specifies the unit for the destination layers.
Option list

  • page:0% of Page
    This unit is useful for maintaining the same layer size relative to the page size. When this unit is selected, the left, top, height, and width of the layer are in percentage of the graph page height and width.
  • inch:1 inch
    When this unit is selected, the left, top, height, and width of the layer are measured in inch.
  • cm:2 cm
    When this unit is selected, the left, top, height, and width of the layer are measured in cm.
  • mm:3 mm
    When this unit is selected, the left, top, height, and width of the layer are measured in mm.
  • pixel:4 pixel
    When this unit is selected, the left, top, height, and width of the layer are measured in pixel.
  • point:5 point
    When this unit is selected, the left, top, height, and width of the layer are measured in point.
  • link:6% of Linked Layer
    This unit is useful for maintaining the same layer size relative to the linked layer. When this unit is selected, the left, top, height, and width of the layer are in percentage of the linked layer height and width.

Description

This X-Function can be used to link several graph layers to a source layer.

Related X-Functions

laysetunit


Keywords:scale