[]
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()
Creates a new instance of the output range that includes all pages in the document.
public OutputRange(int maxPageNumber)
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)
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)
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)
Type | Name | Description |
---|---|---|
string | pages | The pages to be included. |