StartNumber Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the number for the first footnote.
Syntax
public int StartNumber { get; set; }Public Property StartNumber As IntegerExamples
The following example works with footnotes in the current document by using FootnoteCollection.StartNumber.
textControl.Text = "Customer: Contoso Ltd.";
textControl.Select(10, 12);
FootnoteCollection footnoteCollection = textControl.Footnotes;
footnoteCollection.Add(new Footnote("Source: FY 2026 annual report") { ID = 100 }, false);
footnoteCollection.StartNumber = 1;
Console.WriteLine($"Start Number used by Footnote Collection: {footnoteCollection.StartNumber}");textControl.Text = "Customer: Contoso Ltd."
textControl.Select(10, 12)
Dim footnoteCollection As FootnoteCollection = textControl.Footnotes
footnoteCollection.Add(New Footnote("Source: FY 2026 annual report") With { .ID = 100 }, False)
footnoteCollection.StartNumber = 1
Console.WriteLine($"Start Number used by Footnote Collection: {footnoteCollection.StartNumber}")