ImageGear Professional DLL v17.1 for Windows Accusoft
IG_err_error_check
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Error Functions > IG_err_error_check

Glossary Item Box

This function returns the number of records of the specified level on the error stack.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_err_error_check(
   UINT nLevel
);

Arguments:

nLevel Level of errors to return. 0 means critical errors (function failure), greater levels denote warnings.

Return Value:

Returns the number of records of the specified level 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;
// get number of records of level 0
errCount = IG_err_error_check(0);

See Also

IG_err_callback_get

©2012. Accusoft Corporation. All Rights Reserved.