'Declaration Public Function New( _ ByVal document As ImGearPDFDocument, _ ByVal page As ImGearPDFPage, _ ByVal fitType As ImGearPDFAtom, _ ByVal rect As ImGearPDFFixedRect, _ ByVal zoom As Integer, _ ByVal pageNumber As Integer _ )
'Usage Dim document As ImGearPDFDocument Dim page As ImGearPDFPage Dim fitType As ImGearPDFAtom Dim rect As ImGearPDFFixedRect Dim zoom As Integer Dim pageNumber As Integer Dim instance As New ImGearPDFDestination(document, page, fitType, rect, zoom, pageNumber)
public ImGearPDFDestination( ImGearPDFDocument document, ImGearPDFPage page, ImGearPDFAtom fitType, ImGearPDFFixedRect rect, int zoom, int pageNumber )
public: ImGearPDFDestination( ImGearPDFDocument* document, ImGearPDFPage* page, ImGearPDFAtom* fitType, ImGearPDFFixedRect* rect, int zoom, int pageNumber )
public: ImGearPDFDestination( ImGearPDFDocument^ document, ImGearPDFPage^ page, ImGearPDFAtom^ fitType, ImGearPDFFixedRect^ rect, int zoom, int pageNumber )
Parameters
- document
- The document in which the destination is used.
- page
- The destination page.
- fitType
- Destination fit type. Must be one of the View Destination Fit Types. See section 8.2, "Document-Level Navigation", in the PDF Reference for more information on destinations, and specifically Table 8.2 for Destination Fit Types.
- rect
- Destination rectangle, specified in user space coordinates. The appropriate information will be extracted from rect, depending on fitType, to create the destination. All four of rect's components should be set.
- zoom
- The zoom factor to set for the destination. Used only if fitType is XYZ.
- pageNumber
- Page number of the destination's page.
Return Value
The new instance of ImGearPDFDestination class object.