The TableOfContentsEventArgs class provides data for the TableOfContentsCreated, TableOfContentsDeleted, TableOfContentsEntered and TableOfContentsLeft events. When a table of contents is deleted, the TableOfContents object provided with the event data has the following valid properties: HighlightColor, HighlightMode, ID, Name, MinimumStructureLevel, MaximumStructureLevel, HasLinks, HasPageNumbers and HasRightAlignedPageNumbers. All other properties are undefined.


public class TableOfContentsEventArgs: EventArgs
Public Class TableOfContentsEventArgs
  Inherits EventArgs

Introduced: X19.


Property Description
TableOfContents Gets an object that represents the table of contents which causes the event.