ReorderLayers

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

The ReorderLayers transaction moves the specified layer to the new position within the given page. This transaction defines in what order items are going to be rendered for display, printing, and rasterizing. Note that the active edit layer is always rendered on top of the other layers on display, but you can specify the position you want it to be in when it is inactive.

Type XTYP_EXECUTE

Syntax [ReorderLayers(docwinID, layerID, layerPosition, <pageID>)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

layerID

DWORD

identifier of the layer to reorder

layerPosition

WORD

1 | 2 | ... | last layer position

new position (where 1 is on top, 2 is next, and so on)

pageID

DWORD

0 | pageID

current | specific. Optional parameter.

Remarks

If "Old Style Render" is enabled in the Imagenation INI file, layers are rendered in a different order--rasters first, and then vectors. Otherwise layers are initially rendered in the order in which they were placed on the page.

image\tips.gif Parameter tip

Release information

Added in Release 3.40.

See also

Reordering layers and pages