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.