PdfDocumentProcessor.CreateDestination(Int32) Method
Creates a destination for targets in the document (e.g., bookmarks) using a page number.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#Declaration
public PdfDestination CreateDestination(
int pageNumber
)
#Parameters
Name | Type | Description |
---|---|---|
page |
Int32 | An integer value that is the page number where the destination is created. |
#Returns
Type | Description |
---|---|
Pdf |
A Pdf |
#Remarks
The overloaded CreateDestination method converts world coordinates to page coordinates. See the Coordinate Systems topic to learn more.
Use this method to create a destination that points to a specific location and view in a document. The created destination is assigned to the PdfBookmark.Destination property.
For more information about the bookmarks creation, see the Bookmarks topic.