TX Text Control .NET Server

NumberFormat 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 footnotes' number format. The property's value is a member of the NumberFormat enumeration.

Syntax

public NumberFormat NumberFormat { get; set; }

Members

ValueDescription
ArabicNumbersThe footnote numbers are displayed with Arabic numbers (1, 2, 3...).
LettersThe footnote numbers are displayed with letters (a, b, c...).
CapitalLettersThe footnote numbers are displayed with capital letters (A, B, C...).
RomanNumbersThe footnote numbers are displayed with Roman numbers (I, II, III...).
SmallRomanNumbersThe footnote numbers are displayed with small Roman numbers (i, ii, iii...).

Examples

The following example works with footnotes in the current document by using FootnoteCollection.NumberFormat.

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.NumberFormat = NumberFormat.ArabicNumbers;
Console.WriteLine($"Number Format used by Footnote Collection: {footnoteCollection.NumberFormat}");