ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General API > IGPDFCtl Control > IGPDFCtl Methods > CreateDestination Method |
Creates a new destination object.
CreateDestination(Document As IGPDFDoc, Page As IGPDFPage,
InitialFitType As IGPDFAtom, InitialRect As IGPDFFixedRect,
InitialZoom As Long) As IGPDFDestination
Name | Description |
---|---|
Document | The document in which the destination is used. |
Page | The destination page. |
InitialFitType | Destination fit type. Must be one of the View Destination Fit Types. |
InitialRect | Destination rectangle, specified in user space coordinates. The appropriate information will be extracted from InitialRect, depending on InitialFitType, to create the destination. All four of InitialRect's components should be set. |
InitialZoom | The zoom factor to set for the destination. Used only if InitialFitType is XYZ. |
The newly created IGPDFDestination Object.