SetZOrder Function
Moves a given layer to a given position in the stack of layers on a page in an Envision document currently opened in the Canvas Envision Creator app.
SetZOrder(layer: [[[EvItem|canvas-envision-document-items.html#layer-items]]], index: number): Promise<void>
Parameters
layer: EvItemA Layer item object of a layer that should be moved to a given position in the stack of layers on a page in the Envision document currently opened in the Canvas Envision Creator app.
index: numberA number, a new position of the given layer in the stack of layers on the page. It is a zero-based index that is
0for the topmost layer and increases by1for each following layer going down the stack.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the given layer has been successfully moved in the stack of layers on the page in the current Envision document.
13 March 2025