Creates a new destination object.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_destination_create( HIG_PDF_DOC hDoc, HIG_PDF_PAGE hPage, HIG_PDF_ATOM hInitialFitType, LPAT_PDF_FIXEDRECT lpInitialRect, AT_PDF_FIXED nInitialZoom, LPHIG_PDF_DESTINATION lphDest ); |
Arguments:
hDoc | The document in which the destination is used. |
hPage | The destination page. |
hInitialFitType | Destination fit type. Must be one of the View Destination Fit Types. |
lpInitialRect | Pointer to a AT_PDF_FIXEDRECT specifying the destination rectangle, specified in user space coordinates. The appropriate information will be extracted from lpInitialRect, depending on hInitialFitType, to create the destination. All four of lpInitialRect's components should be set. |
nInitialZoom | The zoom factor to set for the destination. Used only if hInitialFitType is XYZ. Use the predefined value IG_PDF_DEST_NULL to indicate a NULL zoom factor. |
lphDest | The newly created destination object. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.