evCreate API 5.7 Help

RemovePage Function

Removes permanently a given regular document page or master page from an Envision document currently opened in the Canvas Envision Creator app.

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

Parameters

page: EvItem

A Page item object of a page that should be removed from the Envision document currently opened in the Canvas Envision Creator app.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the given Page item object has been successfully removed from the Envision document currently opened in the Canvas Envision Creator app.

Discussion

Trying to remove the only page from the document will not remove it but will raise an error.

11 March 2025