Gets the number of zones in the zone list of the hImage image.
Declaration:
|
Copy Code |
AT_ERRCOUNT ACCUAPI IG_REC_zones_count_get(
HIG_REC_IMAGE hImage,
LPAT_INT lpZoneCount
);
|
Arguments:
hImage |
Handle of the image. |
lpZoneCount |
Address of an integer variable to get the number of zones. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
See IG_REC_image_import.
Example:
|
Copy Code |
AT_ERRCOUNT ErrCount = 0;
HIG_REC_IMAGE higRecImage = 0;
HIGEAR higImage = 0;
AT_INT iZoneCount = 0;
ErrCount += IG_load_file("Multipage.tif", &higImage);
ErrCount += IG_REC_image_import(higImage, &higRecImage);
ErrCount += IG_REC_zones_locate(higRecImage, NULL);
ErrCount += IG_REC_zones_count_get(higRecImage, &iZoneCount);
//...
ErrCount += IG_REC_image_delete(higRecImage);
ErrCount += IG_image_delete(higImage);
|
See Also
HIG_REC_IMAGE