PdfPageLabels
AddRange Method (Int32, String, String, Int32)
|
Add labeling range which is a series of consecutive pages using the same numbering system.
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void AddRange(
int indexOfFirstPage,
string numberStyle,
string prefix,
int numberOfFirstPage
)
Public Sub AddRange (
indexOfFirstPage As Integer,
numberStyle As String,
prefix As String,
numberOfFirstPage As Integer
)
public:
void AddRange(
int indexOfFirstPage,
String^ numberStyle,
String^ prefix,
int numberOfFirstPage
)
member AddRange :
indexOfFirstPage : int *
numberStyle : string *
prefix : string *
numberOfFirstPage : int -> unit
Parameters
-
indexOfFirstPage
-
Type:
System
Int32
the page index of the first page in the labeling range.
-
numberStyle
-
Type:
System
String
The numbering style to be used for the numeric portion of each page label.
As follow:
Decimal_Arabic_Numerals/Uppercase_Roman_Numerals/Lowercase_Roman_Numerals/Uppercase_Letters/Lowercase_Letters
-
prefix
-
Type:
System
String
The label prefix for page labels in the labeling range.
-
numberOfFirstPage
-
Type:
System
Int32
The value of the numeric portion for the first page label in the range.
Subsequent pages are numbered sequentially from this value, which must be greater than or equal to 1. Default value: 1.
See Also