Package com.itextpdf.text.pdf
Interface PdfPageElement
interface PdfPageElement
The
PdfPageElement interface has to be implemented by PdfPage and PdfPages.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisParent()Checks if this page element is a tree of pages.voidsetParent(PdfIndirectReference reference) Set the value for the Parent key in the Page or Pages Dictionary.
-
Method Details
-
setParent
Set the value for the Parent key in the Page or Pages Dictionary.- Parameters:
reference- an indirect reference to aPdfPages-object
-
isParent
boolean isParent()Checks if this page element is a tree of pages.- Returns:
trueif it's a tree of pages;falseif it's a single page
-