evCreate API 5.7 Help

SetVisible Function

Toggles the visibility of a given page in an Envision document currently opened in the Canvas Envision Creator app.

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

Parameters

page: EvItem

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

isVisible: boolean

A Boolean, a switch to hide (false) or show (true) the given page in the document.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the given page has been successfully hidden or shown in the current Envision document.

13 March 2025