Gets or sets the number format. The property's value is a member of the Number
public NumberFormat NumberFormat { get; set; }
Public Property NumberFormat() As NumberFormat
Member | Description |
---|---|
Arabic |
The page numbers are displayed with Arabic numbers (1, 2, 3...). |
Letters | The page numbers are displayed with letters (a, b, c...). |
Capital |
The page numbers are displayed with capital letters (A, B, C...). |
Roman |
The page numbers are displayed with Roman numbers (I, II, III...). |
Small |
The page numbers are displayed with small Roman numbers (i, ii, iii...). |
The following example uses Number
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))