Adds a new table of contents to the document at the current text input position.
public TableOfContentsCollection.AddResult Add(TableOfContents tableOfContent);Public Function Add(ByVal tableOfContent As TableOfContents, ByVal createLinks As Boolean) As TableOfContentsCollection.AddResult| Parameter | Description |
|---|---|
| table |
Specifies the table of contents to add. |
The return value specifies whether the new table of contents has successfully been inserted. It can be one of the Table