This property refers to the types of errors that can occur when using the ImageKit Control.
[C++Builder] imagekitcontrolname->ErrorStatus
[= short ]
[Delphi] imagekitcontrolname.ErrorStatus
[= Smallint ]
Property Value
Value | Explanation |
---|---|
0 | No error has occurred |
1 | The process was canceled |
2 | An unspecified error has occurred |
3 | A memory error has occurred |
4 | This function is not supported |
5 | An incorrect value has been set |
6 | The file is incorrect or corrupted |
7 | The image is incorrect or corrupted |
8 | Twain_32.dll can not load |
9 | An error has occurred while drawing on or displaying an image |
10 | That image format is not supported |
11 | The order of execution is incorrect |
12 | There is no paper in the ADF (UI suppressed only) |
13 | There are no images in the digital camera (UI suppressed only) |
14 | The DLL is not loaded |
15 | Transmission error |
16 | Cannot find file |
17 | The file is corrupted |
18 | A timeout has occurred. The process has been cancelled |
19 | The username and/or password is incorrect. Access denied. |
20 | Cannot open file |
21 | Cannot create file |
22 | Cannot save file |
23 | Cannot load file |
24 | There is no image data to display |
101 | There is no entry point for the Twain_32.dll |
102 | The data source manager and the data source haven't been opened or can't be open. |
103 | There is no data source |
104 | The data source is already connected to the maximum number of applications |
105 | An error has occurred in the data source or in the data source manager |
106 | An unconfirmed triplet has occurred (TWAIN - DG_XXX/DAT_XXX/MSG_XXX) |
107 | Check the scan device's operating state |
108 | Paper is jammed in the feeder |
109 | Multiple sheets of paper have been fed into the feeder |
110 | The resolution is incorrect |
111 | The cover is open |
112 | The corner of the original is folded over |
113 | A focus error occurred when capturing the original |
114 | The original is too bright |
115 | The original is too dark |
116 | Unable to transfer because image information cannot be retrieved |
Explanation
The ErrorStatus property refers to the types of errors that can occur when using the ImageKit Control. This property value can be retrieved immediately after executing a ImageKit Control method.
Error 13 is for digital cameras whose TWAIN drivers support TWAIN version 1.7 and up. Errors 108 and 109 are for TWAIN drivers that support TWAIN version 1.8 and up
Errors 111 through 115 are for TWAIN drivres that support TWAIN version 2.0
Error 116 is for TWAIN drivers that support TWAIN version 2.1
Setting this value
This value cannot be set.
Retrieving this value
This value can be retrieved at run-time.