PdfDestination Class
The base class for destinations – references to a page with specific view parameters.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
#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.
Destination | View Parameters | Class | Method |
---|---|---|---|
Fit |
Fit the page’s bounding box into the document window. | Pdf |
Pdf |
Fit |
Fit the page’s bounding box into the document window horizontally. | Pdf |
Pdf |
Fit |
Fit the page’s bounding box into the document window vertically. | Pdf |
Pdf |
Fit | Fit the entire page into the document window. | Pdf |
Pdf |
Fit |
Fit the entire page into the document window horizontally. | Pdf |
Pdf |
Fit |
Fit the entire page into the document window vertically. | Pdf |
Pdf |
Fit |
Display the specified page area in the document window. | Pdf |
Pdf |
XYZ | Position the specified page coordinate at the top left corner of the document window and specify the zoom factor. | Pdf |
Pdf |
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.