iText 7 7.1.9 API
iText.Kernel.Pdf.Navigation.PdfExplicitDestination Class Reference

This class shall be used for creation of destinations, associated with outline items, annotations or actions within current document. More...

Inheritance diagram for iText.Kernel.Pdf.Navigation.PdfExplicitDestination:
iText.Kernel.Pdf.Navigation.PdfDestination iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >

Public Member Functions

  PdfExplicitDestination (PdfArray pdfObject)
 
override PdfObject  GetDestinationPage (IDictionary< String, PdfObject > names)
 
- Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
virtual T  GetPdfObject ()
 
virtual iText.Kernel.Pdf.PdfObjectWrapper< T >  MakeIndirect (PdfDocument document, PdfIndirectReference reference)
  Marks object behind wrapper to be saved as indirect. More...
 
virtual iText.Kernel.Pdf.PdfObjectWrapper< T >  MakeIndirect (PdfDocument document)
  Marks object behind wrapper to be saved as indirect. More...
 
virtual iText.Kernel.Pdf.PdfObjectWrapper< T >  SetModified ()
 
virtual void  Flush ()
 
virtual bool  IsFlushed ()
 

Static Public Member Functions

static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateXYZ (PdfPage page, float left, float top, float zoom)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateXYZ (int pageNum, float left, float top, float zoom)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFit (PdfPage page)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFit (int pageNum)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitH (PdfPage page, float top)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitH (int pageNum, float top)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitV (PdfPage page, float left)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitV (int pageNum, float left)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitR (PdfPage page, float left, float bottom, float right, float top)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitR (int pageNum, float left, float bottom, float right, float top)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitB (PdfPage page)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitB (int pageNum)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitBH (PdfPage page, float top)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitBH (int pageNum, float top)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitBV (PdfPage page, float left)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  CreateFitBV (int pageNum, float left)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  Create (PdfPage page, PdfName type, float left, float bottom, float right, float top, float zoom)
 
static iText.Kernel.Pdf.Navigation.PdfExplicitDestination  Create (int pageNum, PdfName type, float left, float bottom, float right, float top, float zoom)
 
- Static Public Member Functions inherited from iText.Kernel.Pdf.Navigation.PdfDestination
static iText.Kernel.Pdf.Navigation.PdfDestination  MakeDestination (PdfObject pdfObject)
 

Detailed Description

This class shall be used for creation of destinations, associated with outline items, annotations or actions within current document.

This class shall be used for creation of destinations, associated with outline items, annotations or actions within current document. If you need to create a destination, associated with an object in another PDF (e.g. Remote Go-To actions or Embedded Go-To actions), you should use PdfExplicitRemoteGoToDestination class instead. Note that despite methods with integer value for page parameter are deprecated in this class, Adobe Acrobat handles such destinations correctly, but removes them completely from a PDF, when it is saved as an optimized pdf with the "discard-invalid-links" option. Therefore it is strongly recommended to use methods accepting pdfPage instance, if the destination is inside of the current document.