public class PDPageTree extends Object
| Constructor and Description |
|---|
PDPageTree() |
PDPageTree(COSObject object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addPage(PDPage page,
int insertAt) |
boolean |
empty() |
COSObject |
getObject() |
PDPage |
getPage(int index) |
int |
getPageCount() |
PDPageTreeBranch |
getRoot() |
PDPage |
newPage(int insertAt) |
void |
setObject(COSObject object) |
public PDPageTreeBranch getRoot()
public COSObject getObject()
public void setObject(COSObject object) throws IOException
IOExceptionpublic boolean empty()
public int getPageCount()
public PDPage getPage(int index)
public PDPage newPage(int insertAt) throws IOException
IOExceptionpublic boolean addPage(PDPage page, int insertAt) throws IOException
IOExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.