CountPages Function
Counts the total number of all document pages, master pages, or both types of pages in an Envision document currently opened in the Canvas Envision Creator app.
CountPages(type: [[[EvPageType|evpagetype-enumeration.html]]]): Promise<number>
Parameters
type: EvPageTypeA member of the
EvPageTypeenumeration, a type of page that should be counted in the document currently opened in the Canvas Envision Creator app.
Return value
Promise<number>A Promise that, if fulfilled, resolves to the number of pages of the given type in the document currently opened in the Canvas Envision Creator app.
07 March 2025