Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPageLabels Class > PdfPageLabels Methods > AddRange Method > AddRange Method (Int32, Int32, PdfPageNumberingStyle, String)
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,
	int lastPage,
	PdfPageNumberingStyle style,
	string prefix
)
VB
Public Sub AddRange ( 
	firstPage As Integer,
	lastPage As Integer,
	style As PdfPageNumberingStyle,
	prefix As String
)

Parameters

firstPage
Type: System.Int32
The zero-based index of the first page in range.
lastPage
Type: System.Int32
The zero-based index of the last 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.

Remarks

The index of the last page in range may be greater than actual number of pages in the document.

The prefix may be null or empty string.

The newly added range not necessarily put at the end of the collection.

See Also