public class PageSelection extends InternalPageSelection
PageSelection can be used to perform operations on a subset of pages from a PDF document.
See: PdfDocument
pagesList
Constructor and Description |
---|
PageSelection() |
Modifier and Type | Method and Description |
---|---|
static PageSelection |
allPages()
Every page of the PDF.
|
static PageSelection |
firstPage()
First page (page index 0).
|
static PageSelection |
lastPage()
First page (page index 0).
|
static PageSelection |
pageRange(int startIndex,
int endIndex)
The selection of pages to be used.
|
static PageSelection |
pageRange(List<Integer> pageList)
PageSelection factory.
|
static PageSelection |
singlePage(int pageIndex)
Specific page index.
|
public static PageSelection allPages()
public static PageSelection singlePage(int pageIndex)
Note: Page 1 has index 0
pageIndex
- the page indexpublic static PageSelection firstPage()
public static PageSelection lastPage()
public static PageSelection pageRange(int startIndex, int endIndex)
startIndex
- The index of the first PDF page. Note: Page 1 has index 0endIndex
- The index of the last PDF page.public static PageSelection pageRange(List<Integer> pageList)
pageList
- The list of pages index of the PDF. Note: Page 1 has index 0Copyright © 2022–2023 Iron Software. All rights reserved.