This function copies resolution from DIB to lpResolution.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_DIB_resolution_get( HIGDIBINFO hDIB, AT_RESOLUTION* lpResolution ); |
Name | Type | Description |
---|---|---|
hDIB | HIGDIBINFO | DIB info handle. |
lpResolution | AT_RESOLUTION* | Pointer to struct to which to copy DIB resolution. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
All pixel formats supported by ImageGear for C and C++.
MFC PDF Demo
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); |