[]
Creates a new instance of the output range that includes all pages in the document. Note that enumerating the resulting range must be broken by the client.
public OutputRange()
Public Sub New()
Creates a new instance of the output range that includes all pages in the document.
public OutputRange(int maxPageNumber)
Public Sub New(maxPageNumber As Integer)
| Type | Name | Description |
|---|---|---|
| int | maxPageNumber | The maximum page number (used to prevent infinite enumeration). |
Creates an instance of OutputRange that includes a single interval of pages. FromPage may be greater than ToPage, in that case the range is inverted.
public OutputRange(int fromPage, int toPage)
Public Sub New(fromPage As Integer, toPage As Integer)
| Type | Name | Description |
|---|---|---|
| int | fromPage | The number of the first page to include (1-based). |
| int | toPage | The number of the last page to include (1-based). |
Creates an instance of OutputRange that includes all pages with numbers specified in the list. The list may include Dash values to specify intervals.
public OutputRange(int[] pageNumbers)
Public Sub New(pageNumbers As Integer())
| Type | Name | Description |
|---|---|---|
| int[] | pageNumbers | The array of page numbers to include. |
Creates an instance of OutputRange that includes pages specified by the string parameter. The string may contain:
public OutputRange(string pages)
Public Sub New(pages As String)
| Type | Name | Description |
|---|---|---|
| string | pages | The pages to be included. |