This document is archived and information here might be outdated. Recommended version. |
Indicates if the layer is currently visible.
[Visual Basic .NET]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}
The Visible property specifies whether the layer is visible in the IARControl::CurrentView.
2112 800A0840: The current document does not have permission to change layer visibility
Setting the Visible property will return an error if the currently loaded document was not published with permission to ChangeLayerVisibility. Use the IARControl::HasDocumentPermission method to determine this.