NumberFormat 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 or sets the footnotes' number format. The property's value is a member of the NumberFormat enumeration.
Syntax
public NumberFormat NumberFormat { get; set; }Public Property NumberFormat As NumberFormatMembers
| Value | Description |
|---|---|
| ArabicNumbers | The footnote numbers are displayed with Arabic numbers (1, 2, 3...). |
| Letters | The footnote numbers are displayed with letters (a, b, c...). |
| CapitalLetters | The footnote numbers are displayed with capital letters (A, B, C...). |
| RomanNumbers | The footnote numbers are displayed with Roman numbers (I, II, III...). |
| SmallRomanNumbers | The 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}");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.NumberFormat = NumberFormat.ArabicNumbers
Console.WriteLine($"Number Format used by Footnote Collection: {footnoteCollection.NumberFormat}")