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

Gets a destination's fit type, destination rectangle, and zoom factor.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_destination_get_explicit_attrs(
        HIG_PDF_DESTINATION hDest,
        LPAT_INT lpnPageNum,
        LPHIG_PDF_ATOM lphFitType,
        LPAT_PDF_FIXEDRECT lpRect,
        LPAT_PDF_FIXED lpnZoom
);

Arguments:

Name Type Description
hDest HIG_PDF_DESTINATION The destination whose explicit attributes are obtained.
lpnPageNum LPAT_INT The page number of the destination's page.
lphFitType LPHIG_PDF_ATOM Destination fit type. One of the Destination Fit Types values.
lpRect AT_PDF_FIXEDRECT Pointer to a AT_PDF_FIXEDRECT containing the destination's rectangle, specified in user space coordinates.
lpnZoom LPAT_PDF_FIXED The destination's zoom factor.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Applies only to IG_PDF_DEST_EXPLICIT type of destination.

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