TX Text Control ActiveX

TableOfContentsUpdate Method

Method

This method can be used to update the content and the page numbers of a table of contents.

Introduced: 29.0.

Syntax

TXTextControl.TableOfContentsUpdate TOCId

Parameters

ParameterDescription
TOCIdSpecifies the unique identifier of the table of contents. This must be a value returned from the TableOfContentsDialog method.

Return Value

The return value is True, if the specified table of contents could be updated. Otherwise, it is False. False is returned, if an error occurred or if the specified identifier is invalid.

Data Types

NameData type
TOCIdLong
Return valueBoolean

See Also