evCreate API 5.7 Help

SetZOrder Function

Moves a given page to a given position along other pages in an Envision document currently opened in the Canvas Envision Creator app.

SetZOrder(page: [[[EvItem|canvas-envision-document-items.html#page-items]]], index: number): Promise<void>

Parameters

page: EvItem

A Page item object of a page that should be moved to a given position along other pages in the Envision document currently opened in the Canvas Envision Creator app.

index: number

A number, a new position of the given page along other pages in the document. It is a zero-based index that is 0 for the first page and increases by 1 for each following page.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the given page has been successfully moved in the current Envision document.

13 March 2025