ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDF_destination_resolve
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DESTINATION > IG_PDF_destination_resolve

Resolves a destination.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_destination_resolve(
        HIG_PDF_DESTINATION hDest,
        HIG_PDF_DOC hDoc,
        LPHIG_PDF_DESTINATION lphResolvedDest
);

Arguments:

Name Type Description
hDest HIG_PDF_DESTINATION The destination whose type is obtained.
hDoc HIG_PDF_DOC The PDF document that contains the destination.
lphResolvedDest LPHIG_PDF_DESTINATION The resolved view destination.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

hDest is the value of the D key in an action. It can be a real destination (an array) or a name. If it is a name, look it up in hDoc's Dests dictionary. The value found there can be a real destination (an array) or a dictionary. If it's a dictionary, look up the D key in that dictionary. This function is useful for getting an explicit view destination from an action.