This document is archived and information here might be outdated. Recommended version. |
Indicates if the Table of Contents (TOC) is visible.
[Visual Basic .NET]
Public Property TOCVisible As Boolean
[C#]
public bool TOCVisible {get; set;}
Indicates whether the Table of Contents (TOC) on the left hand side of the ArcReaderControl is visible. You may want to hide the TOC to have more area for displaying data. The width of the TOC can be changed by setting the TOCWidth property to the appropriate number of pixels. By default the TOCVisible property is set to true.
2101 800A0835: The current document does not have permission to view the table of contents
Setting the TOCVisible property will return an error if the currently loaded document was not published with permission to ViewTOC. Use the IARControl::HasDocumentPermission method to determine this.