Start Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the index (one-based) of the first character which belongs to the table of contents.
Syntax
public int Start { get; }Public ReadOnly Property Start As IntegerExamples
The following example creates a table of contents for the document's heading styles by using TableOfContents.Start.
TableOfContents tableOfContents = new(1, 3) { Name = "Contents", ID = 10 };
textControl.TablesOfContents.Add(tableOfContents);
textControl.InputPosition = new InputPosition(tableOfContents.Start);
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)
textControl.InputPosition = New InputPosition(tableOfContents.Start)
Console.WriteLine("Table Of Contents is ready for use.")Limitations
Read only.