MoveLayer

image\bltlrgss.gif Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The MoveLayer transaction shifts the specified layer to the specified position relative to another layer.

Type XTYP_EXECUTE

Syntax [MoveLayer(layerID, relLayerID, units, x1, y1, x2, y2)]

Parameter

Data type

Values

Meaning

layerID

DWORD

identifier of the layer to move

relLayerID

DWORD

identifier of the layer relative to which layerID is moved

unitType

WORD

0

proportional units

x1

WORD

upper-left horizontal coordinate:

amount to move layerID (such as one-third) * 100,000

or

number of pixels by which to move layerID * 100,000 / width of relLayerID, in pixels

y1

WORD

upper-left vertical coordinate:

amount to move layerID (such as one-third) * 100,000

or

number of pixels by which to move layerID * 100,000 / height of relLayerID, in pixels

x2

WORD

0

placeholder

y2

WORD

0

placeholder

Release information

Added in Release 4.20.

See also

Moving layers