ImageGear for C and C++ on Windows v20.5 - Updated
IG_err_count_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Error Functions > IG_err_count_get

This function returns the total number of records (errors plus warnings) on the error stack.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_err_count_get();

Arguments:

None

Return Value:

Returns the total number of errors and warnings on the error stack. If errors occur during this function call, the function returns (AT_ERRCOUNT)-1, but these errors are not appended onto the error stack.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Example:

 
Copy Code
AT_ERRCOUNT errCount;
errCount = IG_err_count_get();

See Also

IG_err_callback_get

Is this page helpful?
Yes No
Thanks for your feedback.