Method AddItem
AddItem(TOCItem, int)
Add a toc item after the item with the specified name. Currently only simple, one-level TOCs are implemented.
Declaration
public void AddItem(TOCItem newItem, int position = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| TOCItem | newItem | The item to add |
| int | position | The zero-based position of the new item. If unspecified or negative, the new item is added to the end. |