evCreate API 5.7 Help

CountObjects Function

Counts the number of objects on a given page in an Envision document currently opened in the Canvas Envision Creator app.

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

Parameters

page: EvItem

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

Return value

Promise<number>

A Promise that, if fulfilled, resolves to the number of objects on the given page in the current Envision document.

13 March 2025