This function returns the width of the image.
Declaration:
Copy Code | |
---|---|
AT_DIMENSION ACCUAPI IG_DIB_width_get( HIGDIBINFO hDIB ); |
Arguments:
Name | Type | Description |
hDIB | HIGDIBINFO | DIB info handle. |
Return Value:
Width of the image.
Supported Raster Image Formats:
All pixel formats supported by ImageGear Professional.
Sample:
Annotation, Filters, Load Callback, MFC PDF Demo
Example:
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); |