SetVisible Function
Toggles the visibility of a given object item on the layer in an Envision document currently opened in the Canvas Envision Creator app.
SetVisible(obj: [[[EvItem|canvas-envision-document-items.html#object-items]]], isVisible: boolean): Promise<void>
Parameters
obj: EvItemAn Object item object, an object item from the Envision document currently opened in the Canvas Envision Creator app that should be hidden or shown on the layer.
isVisible: booleanA Boolean, a switch to hide (
false) or show (true) the given object item on the layer in the current Envision document.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the given object item has been successfully hidden or shown on the layer in the current Envision document.
27 March 2025