| Example-VB |
Reports the error code that occurred after a property was set or a method called.
| Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
| Imaging for Windows 95 and 98 | |
| Imaging for Windows NT 4.0 |
Image OCR control
object.StatusCode[=value]
Integer (enumerated)
| Value | Description |

| 0 (default) | Success |
| 1 | OCR results cannot be converted to the format specified |
| 2 | Unable to start OCR processing |
| 3 | The OCR server cannot be initialized – it may already be running |
| 4 | An invalid converter name was specified |
| 5 | An invalid filename was specified |
| 6 | An invalid OCR property was specified |
| 7 | The OCR dictionaries cannot be loaded |
| 8 | OCR language support cannot be loaded |
| 9 | OCR processing canceled due to an unrecoverable recognition error |
| 10 | Unable to shut down the OCR server |
| 11 | Image filename not found |
| 12 | Unable to perform processing because the OCR server was not started |
| 13-17 | Reserved |
| 18 | Cannot create the OCR output file |
| 19 | OCR cannot open or read the image file |
| 20 | OCR cannot preprocess the image page |
| 21 | OCR cannot recognize the image |
| 22 | OCR settings, or the OCR dialog box was canceled |
| 23 | Reserved |
| 24 | OCR cannot turn on page layout support |
| 25 | Unable to set the internal timer for OCR processing |
| 26 | Cannot open, read, or save Training File information |
| 27 | An error occurred while accessing the Windows clipboard |
| 28 | OCR processing was canceled by the user |
| 29 | Reserved |
| 30 | An error occurred while converting to a bi-tonal image |
| 31 | An error occurred while converting to a bi-tonal image |
| 32 | A Windows error was received while converting to a bi-tonal image |
| 33 | A TextBridge error was received while converting to a bi-tonal image |
| 34 | The OCR server task is no longer running |
| 35 | The pages specified contain no valid pages to OCR |
| 36 | An Output Document name was not specified in the SaveAs dialog |
| 37 | Unable to delete ICR output document |
| 38 | OCR style sheet could not be created |
| 39 | Text was not found,or not recognized |
| 40 | Unsupported image resolution |
This is a read-only property.