evCreate API 5.7 Help

GetLayers Function

Returns an array of item objects of all the layers existing on a given page in an Envision document currently opened in the Canvas Envision Creator app.

GetLayers(page: [[[EvItem|canvas-envision-document-items.html#page-items]]]): Promise<[[[EvItem|canvas-envision-document-items.html#layer-items]]][]>

Parameters

page: EvItem

A Page item object of a page in the Envision document currently opened in the Canvas Envision Creator app whose layers should be returned.

Return value

Promise<EvItem[]>

A Promise that, if fulfilled, resolves to an array of Layer item objects of all the layers on the given page in the current Envision document.

13 March 2025