Adds the new page labeling range with specific properties to the collection.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
public void AddRange(
int firstPage,
PdfPageNumberingStyle style,
string prefix,
int startNumber
)
VB
Public Sub AddRange (
firstPage As Integer,
style As PdfPageNumberingStyle,
prefix As String,
startNumber As Integer
)
Parameters
- firstPage
- Type: System.Int32
The zero-based index of the first page in range. - style
- Type: BitMiracle.Docotic.Pdf.PdfPageNumberingStyle
The numbering style to be used for the numeric portion of
page labels. - prefix
- Type: System.String
The prefix for page labels in range. - startNumber
- Type: System.Int32
The start number (i.e value of the numeric portion
for the first page label in the range). Subsequent pages in range are
numbered sequentially from this value.
Remarks
The prefix may be null or empty string.
The startNumber may be 0 which means that start
number should not be used.
The newly added range not necessarily put at the end of the collection.
See Also