Class PdfDestination
java.lang.Object
com.itextpdf.kernel.pdf.PdfObjectWrapper<PdfObject>
com.itextpdf.kernel.pdf.navigation.PdfDestination
- Direct Known Subclasses:
-
PdfExplicitDestination,PdfExplicitRemoteGoToDestination,PdfNamedDestination,PdfStringDestination,PdfStructureDestination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PdfObjectstatic PdfDestinationmakeDestination(PdfObject pdfObject) CreatesPdfDestinationimplementation based on providedPdfObject.static PdfDestinationmakeDestination(PdfObject pdfObject, boolean throwException) CreatesPdfDestinationimplementation based on providedPdfObject.Methods inherited from class com.itextpdf.kernel.pdf.PdfObjectWrapper
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, isFlushed, isWrappedObjectMustBeIndirect, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
-
Constructor Details
-
PdfDestination
-
-
Method Details
-
getDestinationPage
-
makeDestination
CreatesPdfDestinationimplementation based on providedPdfObject.- Parameters:
-
pdfObject-PdfObjectfrom whichPdfDestinationshall be created - Returns:
-
created
PdfDestinationimplementation
-
makeDestination
CreatesPdfDestinationimplementation based on providedPdfObject.- Parameters:
-
pdfObject-PdfObjectfrom whichPdfDestinationshall be created -
throwException- iftrue, throws exception in case of invalid parameter - Returns:
-
created
PdfDestinationimplementation
-