evCreate API 5.7 Help

GetPages Function

Returns all document pages, master pages, or both types of pages from an Envision document currently opened in the Canvas Envision Creator app.

GetPages(type: [[[EvPageType|evpagetype-enumeration.html]]]): Promise<[[[EvItem|canvas-envision-document-items.html#page-items]]][]>

Parameters

type: EvPageType

A member of the EvPageType enumeration, a type of page that should be returned from the document currently opened in the Canvas Envision Creator app.

Return value

Promise<EvItem[]>

A Promise that, if fulfilled, resolves to an array of all Page item objects of the given page type that exist in the Envision document currently opened in the Canvas Envision Creator app.

07 March 2025