extractPages method
extractPages(index, count, options)
Returns the Document object representing the specified range of pages and the given page extract options.
extractPages(index: number, count: number, options: Aspose.Words.PageExtractOptions)
Parameter | Type | Description |
---|---|---|
index | number | The zero-based index of the first page to extract. |
count | number | Number of pages to be extracted. |
options | PageExtractOptions | Provides options for managing the page extracting process. |
Remarks
The resulting document should look like the one in MS Word, as if we had performed ‘Print specific pages’ – the numbering, headers/footers and cross tables layout will be preserved. But due to a large number of nuances, appearing while reducing the number of pages, full match of the layout is a quiet complicated task requiring a lot of effort. Depending on the document complexity there might be slight differences in the resulting document contents layout comparing to the source document. Any feedback would be greatly appreciated.
extractPages(index, count)
Returns the Document object representing specified range of pages.
extractPages(index: number, count: number)
Parameter | Type | Description |
---|---|---|
index | number | The zero-based index of the first page to extract. |
count | number | Number of pages to be extracted. |
Remarks
The resulting document should look like the one in MS Word, as if we had performed ‘Print specific pages’ – the numbering, headers/footers and cross tables layout will be preserved. But due to a large number of nuances, appearing while reducing the number of pages, full match of the layout is a quiet complicated task requiring a lot of effort. Depending on the document complexity there might be slight differences in the resulting document contents layout comparing to the source document. Any feedback would be greatly appreciated.
See Also
- module Aspose.Words
- class Document