API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Zone Support Functions > IG_REC_zones_delete_all |
Deletes all zones in the zone list of the hImage image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_zones_delete_all( HIG_REC_IMAGE hImage ); |
Name | Type | Description |
---|---|---|
hImage | HIG_REC_IMAGE | Handle of the image. |
See IG_REC_image_import.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0;
HIG_REC_IMAGE higRecImage = 0;
HIGEAR higImage = 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_delete_all(higRecImage);
ErrCount += IG_REC_image_delete(higRecImage);
ErrCount += IG_image_delete(higImage);
|