evCreate API 5.7 Help

GetAttributes Function

Returns an EvLayerAttributes object with the attributes of a given layer on a page in an Envision document currently opened in the Canvas Envision Creator app.

GetAttributes(layer: [[[EvItem|canvas-envision-document-items.html#layer-items]]]): Promise<[[[EvLayerAttributes|evlayerattributes-interface.html]]]>

Parameters

layer: EvItem

A Layer item object of a layer on a page in the Envision document currently opened in the Canvas Envision Creator app whose attributes should be returned.

Return value

Promise<EvLayerAttributes>

A Promise that, if fulfilled, resolves to an EvLayerAttributes object with the attributes of the given layer in the current Envision document.

13 March 2025