Text Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the text of the table of contents.
Syntax
public string Text { get; }Public ReadOnly Property Text As StringExamples
The following example creates a table of contents for the document's heading styles by using TableOfContents.Text.
TableOfContents tableOfContents = new(1, 3) { Name = "Contents", ID = 10 };
textControl.TablesOfContents.Add(tableOfContents);
Console.WriteLine($"Text: {tableOfContents.Text}");
Console.WriteLine("Table Of Contents is ready for use.");Dim tableOfContents As New TableOfContents(1, 3) With { .Name = "Contents", .ID = 10 }
textControl.TablesOfContents.Add(tableOfContents)
Console.WriteLine($"Text: {tableOfContents.Text}")
Console.WriteLine("Table Of Contents is ready for use.")Limitations
Read only.