Page.SetObjectZOrder

Page.SetObjectZOrder ( 

string ObjectName,

number Position,

string ReferenceObject = "" )

Example 1

Page.SetObjectZOrder("Paragraph1", ZORDER_FRONT);

Moves the paragraph object "Paragraph1" to the front of the z-order.

Example 2

Page.SetObjectZOrder(sObjectToMove, ZORDER_INSERT_BEFORE, sReferenceObject);

Moves the object referenced in variable 'sObjectToMove' to the z-order position directly in front of the object referenced in variable 'sReferenceObject'.

See also:  Related Actions