ImageGear for C and C++ on Windows v20.5 - Updated
IG_PDF_destination_create
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DESTINATION > IG_PDF_destination_create

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:

Name Type Description
hDoc HIG_PDF_DOC The document in which the destination is used.
hPage HIG_PDF_PAGE The destination page.
hInitialFitType HIG_PDF_ATOM Destination fit type. Must be one of the View Destination Fit Types.
lpInitialRect LPAT_PDF_FIXEDRECT 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 AT_PDF_FIXED 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 LPHIG_PDF_DESTINATION The newly created destination object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Is this page helpful?
Yes No
Thanks for your feedback.