TablesOfContents Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Gets a collection of all tables of contents in the document. The property's value is an object of the type TableOfContentsCollection.
Syntax
public TableOfContentsCollection TablesOfContents { get; }Public ReadOnly Property TablesOfContents As TableOfContentsCollectionExamples
The following example iterates through the tables of contents collection and processes each table of contents.
foreach (TableOfContents tableOfContents in textControl.TablesOfContents)
{
tableOfContents.Name = "CustomerName";
}For Each tableOfContents As TableOfContents In textControl.TablesOfContents
tableOfContents.Name = "CustomerName"
NextLimitations
Read only.
Runtime only.