ImageGear Professional DLL v17.1 for Windows Accusoft
IG_DIB_resolution_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > DIB Functions > IG_DIB_resolution_get

Glossary Item Box

This function copies resolution from DIB to lpResolution.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_DIB_resolution_get(
        HIGDIBINFO hDIB,
        AT_RESOLUTION *lpResolution
);

Arguments:

hDIB DIB info handle.
lpResolution Pointer to struct to which to copy DIB resolution.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

MFC PDF Demo

Example:

  Copy Code
AT_ERRCOUNT nErrcount;  /* Number of errors on stack */
HIGDIBINFO hDIB;        /* DIB info handle */
AT_RESOLUTION res;      /* Returned image resolution */
nErrcount = IG_DIB_resolution_get(hDIB, &res);
©2012. Accusoft Corporation. All Rights Reserved.