ClearImage 8 Help
Error Handling
Send Feedback

Glossary Item Box

ClearImageNet reports errors through ClearImageException object that is derived from Exception class. Errors should be handled by try/catch in your .NET applications.  Example of exception handling:

ClearImageNet Error Handling Copy Code
try
{
  // Configure barcode reader. Set direction and expected types 
  BarcodeReader reader = new BarcodeReader();
  reader.Auto1D = true;
  Barcode[] barcodes = reader.Read(fileName, pageNumber);
  foreach (Barcode bc in barcodes)
    { Console.WriteLine(bc.Text); }
}
catch (Exception ex)
{
  Console.WriteLine ("ERROR: " + ex.Message.ToString()); 
} 

 

NOTE:  If you encounter an error message that you can not interpret, contact  Inlite Support

© 2007-2013. Inlite Research, Inc. All Rights Reserved.