TX Text Control .NET Server

StartNumber Property

Property|Introduced in 32.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets or sets the number for the first footnote.

Syntax

public int StartNumber { get; set; }

Examples

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}");