TXTextControl.PageNumberField Constructor

Creates a new instance of the PageNumberField class.

PageNumberField()

Creates a new PageNumberField which displays Arabic numbers starting with 1.

[C#]
public PageNumberField();
[Visual Basic]
Public Sub New()

PageNumberField(Int32, NumberFormat)

Creates a new PageNumberField which displays page numbers with the specified number format starting with the specified start number.

[C#]
public PageNumberField(int startNumber, NumberFormat numberFormat);
[Visual Basic]
Public Sub New(ByVal startNumber As Integer, ByVal numberFormat As NumberFormat)
Parameter Description
startNumber

Specifies the page number for the first page.

numberFormat

Specifies the number format. It can be one of the following values:


Value Meaning
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...).

See Also