Visible Property

 

Visible returns or sets the visibility state of an object, application, or layer. Returns a Boolean.

 

Syntax

object.Visible

object.Visible = Visible

 

Parameter

Type

Description

Visible

Boolean

required; true to make the object, application, or layer visible

 

Example 1

This example returns the visibility state for the MapViewer application.

 

Debug.Print mvApp.Visible

 

Example 2

This example sets the visible state of a layer to invisible.

 

MapLayer.Visible = False

 

Used by: Application object, Layer object, Shape object