PageSet constructor
Contents
[
Hide
]PageSet(page)
Creates an one-page set based on exact page index.
PageSet(page: number)
Parameter | Type | Description |
---|---|---|
page | number | Zero-based index of the page. |
Remarks
If a page is encountered that is not in the document, an exception will be thrown during rendering. int.MaxValue C# constant means the last page in the document.
PageSet(pages) {#number[]}
Creates a page set based on exact page indices.
PageSet(pages: number[])
Parameter | Type | Description |
---|---|---|
pages | number[] | Zero-based indices of pages. |
Remarks
If a page is encountered that is not in the document, an exception will be thrown during rendering. int.MaxValue C# constant means the last page in the document.
PageSet(ranges) {#pagerange[]}
Creates a page set based on ranges.
PageSet(ranges: Aspose.Words.Saving.PageRange[])
Parameter | Type | Description |
---|---|---|
ranges | PageRange[] | Array of page ranges. |
Remarks
If a range is encountered that starts after the last page in the document, an exception will be thrown during rendering. All ranges that end after the last page are truncated to fit in the document.
See Also
- module Aspose.Words.Saving
- class PageSet