public final class PageRange
extends java.lang.Object
To learn more, visit the Programming with Documents documentation article.
| Constructor and Description |
|---|
PageRange(int from,
int to)
Creates a new page range object.
|
public PageRange(int from,
int to)
from - The starting page zero-based index.to - The ending page zero-based index. If it exceeds the index of the last page in the document, it is truncated to fit in the document on rendering.