This function returns the width of the image.
Copy Code
|
|
---|---|
AT_DIMENSION ACCUAPI IG_DIB_width_get( HIGDIBINFO hDIB ); |
Name | Type | Description |
---|---|---|
hDIB | HIGDIBINFO | DIB info handle. |
Width of the image.
All pixel formats supported by ImageGear for C and C++.
Annotation, Filters, Load Callback, MFC PDF Demo
Copy Code
|
|
---|---|
AT_ERRCOUNT nErrcount; /* Number of errors on stack */ HIGDIBINFO hDIBInfo; /* DIB info handle */ HIGEAR hImage; /* HIGEAR handle of image */ AT_DIMENSION width; /* Returned height of image */ nErrcount = IG_image_DIB_info_get(hImage, &hDIBInfo); width = IG_DIB_width_get(hDIBInfo); |