SetCurrentLayer Function
Sets a given layer as currently selected (active) on the page currently selected (active) in an Envision document currently opened in the Canvas Envision Creator app.
SetCurrentLayer(layer: [[[EvItem|canvas-envision-document-items.html#layer-items]]]): Promise<void>
Parameters
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the given layer has been successfully selected (activated) on the current page in the current Envision document.
Discussion
If the given layer is not on the current page, the function will raise an error.
12 March 2025