Back to Devexpress

PdfDestination Class

officefileapi-devexpress-dot-pdf-ab5ee7e6.md

latest6.5 KB
Original Source

PdfDestination Class

The base class for destinations – references to a page with specific view parameters.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public abstract class PdfDestination :
    PdfObject
vb
Public MustInherit Class PdfDestination
    Inherits PdfObject

The following members return PdfDestination objects:

Show 12 links

Remarks

A destination includes the following view parameters:

  • The displayed document page
  • The location of the document window on this page
  • The magnification (zoom factor)

The table below lists available destinations and API used to create each type.

DestinationView ParametersClassMethod
FitBFit the page’s bounding box into the document window.PdfFitBBoxDestinationPdfPageFacade.CreateFitBBoxDestination
FitBHFit the page’s bounding box into the document window horizontally.PdfFitBBoxHorizontallyDestinationPdfPageFacade.CreateFitBBoxHorizontallyDestination
FitBVFit the page’s bounding box into the document window vertically.PdfFitBBoxVerticallyDestinationPdfPageFacade.CreateFitBBoxVerticallyDestination
FitFit the entire page into the document window.PdfFitDestinationPdfPageFacade.CreateFitDestination
FitHFit the entire page into the document window horizontally.PdfFitHorizontallyDestinationPdfPageFacade.CreateFitHorizontallyDestination
FitVFit the entire page into the document window vertically.PdfFitVerticallyDestinationPdfPageFacade.CreateFitVerticallyDestination
FitRDisplay the specified page area in the document window.PdfFitRectangleDestinationPdfPageFacade.CreateFitRectangleDestination
XYZPosition the specified page coordinate at the top left corner of the document window and specify the zoom factor.PdfXYZDestinationPdfPageFacade.CreateXYZDestination

Use the PdfBookmark.Destination property to associate a bookmark with a destination. To create a link annotation associated with a destination, call the PdfPageFacade.AddLinkAnnotation method and pass a PdfDestination descendant object as a parameter. You can associate multiple bookmarks and link annotations with a destination.

Inheritance

Show 12 items

Object DevExpress.Pdf.Native.PdfDocumentItem DevExpress.Pdf.Native.PdfObject PdfDestination PdfFitBBoxDestination

PdfFitBBoxHorizontallyDestination

PdfFitBBoxVerticallyDestination

PdfFitDestination

PdfFitHorizontallyDestination

PdfFitRectangleDestination

PdfFitVerticallyDestination

PdfXYZDestination

See Also

PdfDestination Members

DevExpress.Pdf Namespace