PageSet

Overview

PageSet is a class in Aspose.Words FOSS for Java. Inherits from: Iterable<Integer>.

Describes a random set of pages.

Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.

This class declares 7 methods for PageSet objects in Java programs. Available methods include: PageSet, getAll, getEven, getOdd, iterator. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: all, even, odd.

Properties

NameTypeAccessDescription
allPageSetReadGets a set with all the pages of the document in their original order.
evenPageSetReadGets a set with all the even pages of the document in their original order.
oddPageSetReadGets a set with all the odd pages of the document in their original order.

Methods

SignatureDescription
getAll() → PageSetGets a set with all the pages of the document in their original order.
getEven() → PageSetGets a set with all the even pages of the document in their original order.
getOdd() → PageSetGets a set with all the odd pages of the document in their original order.
PageSet(page: int)Creates an one-page set based on exact page index.
PageSet()Creates a page set based on exact page indices.
PageSet()Creates a page set based on ranges.
iterator() → Iterator<Integer>Returns an Iterator to walk through the selected page numbers

See Also