Gets or sets the number format. The property's value is a member of the NumberFormat enumeration.

Syntax

public NumberFormat NumberFormat { get; set; }
Public Property NumberFormat() As NumberFormat

Members

Member Description
ArabicNumbers The page numbers are displayed with Arabic numbers (1, 2, 3...).
Letters The page numbers are displayed with letters (a, b, c...).
CapitalLetters The page numbers are displayed with capital letters (A, B, C...).
RomanNumbers The page numbers are displayed with Roman numbers (I, II, III...).
SmallRomanNumbers The page numbers are displayed with small Roman numbers (i, ii, iii...).

Examples

The following example uses NumberFormat property and sets its value to ArabicNumbers.

textControl1.ViewMode = TXTextControl.ViewMode.PageView;

textControl1.Sections.GetItem().HeadersAndFooters.Add(
    TXTextControl.HeaderFooterType.Header);
TXTextControl.HeaderFooter header = 
    textControl1.Sections.GetItem().HeadersAndFooters.GetItem(
    TXTextControl.HeaderFooterType.Header);

header.Selection.Text = "Page ";
header.PageNumberFields.Add(new TXTextControl.PageNumberField(
    1, TXTextControl.NumberFormat.ArabicNumbers));
TextControl1.ViewMode = TXTextControl.ViewMode.PageView

TextControl1.Sections.GetItem().HeadersAndFooters.Add( _
    TXTextControl.HeaderFooterType.Header)
Dim header As TXTextControl.HeaderFooter = _
    TextControl1.Sections.GetItem().HeadersAndFooters.GetItem( _
    TXTextControl.HeaderFooterType.Header)

header.Selection.Text = "Page "
header.PageNumberFields.Add(New TXTextControl.PageNumberField( _
    1, TXTextControl.NumberFormat.ArabicNumbers))