This method can be used to delete a table of contents.
Introduced: 29.0.
TXTextControl.TableOfContentsDelete TOCId
Parameter | Description | |
TOCId |
Specifies the unique identifier of the table of contents. This must be a value returned from the TableOfContentsDialog method. |
The return value is True, if the specified table of contents could be deleted. Otherwise, it is False. False is returned, if an error occurred or if the specified identifier is invalid.
TOCId: | Long |
Return value: | Boolean |
<< TXTextControl.TableOfContentsCreated Event | >> TXTextControl.TableOfContentsDeleted Event