Visual Basic
C#
Managed Extensions for C++
C++/CLI
Member | Value | Description |
---|---|---|
BadCap | 6 | 6 - Unknown or bad capability. |
BadDest | 12 | 12 - Bad or unknown destination source (or application). |
BadProtocol | 9 | 9 - Bad protocol. |
BadValue | 10 | 10 - Bad value. Data parameter may be out of range. |
Bummer | 1 | 1 - Failure due to unknown causes. |
CapBadOperation | 14 | 14 - Operation not supported by capability. |
CapSeqError | 15 | 15 - Capability has dependancy on other capability. |
CapUnsupported | 13 | 13 - Capability not supported by source. |
CheckDeviceOnline | 23 | 23 - The device went offline prior to or during this operation. |
CustomBase | 32768 | 0x8000 - Base for custom error codes. |
DamagedCorner | 25 | 25 - Operation failed because the document has a damaged corner. |
Denied | 16 | 16 - File system operation is denied. |
DocTooDark | 28 | 28 - Operation failed because the document is too dark. |
DocTooLight | 27 | 27 - Operation failed because the document is too light. |
FileExists | 17 | 17 - Operation failed because file already exists. |
FileNotFound | 18 | 18 - File not found. |
FileWriteError | 22 | 22 - File write error. |
FocusError | 26 | 26 - Operation failed because of a focusing error during document capture. |
Interlock | 24 | 24 - Operation failed because the cover or door is open. |
LowMemory | 2 | 2 - Not enough memory to perform operation. |
MaxConnections | 4 | 4 - The data source is already connected to max possible applications. |
NoDS | 3 | 3 - No Data Source. |
NotEmpty | 19 | 19 - Operation failed because directory is not empty. |
OperationError | 5 | 5 - Operation error. |
PaperDoubleFeed | 21 | 21 - The feeder detected multiple pages. |
PaperJam | 20 | 20 - The feeder is jammed. |
SeqError | 11 | 11 - Out of sequence error. |
Success | 0 | 0 - It worked. |
If an error occurs in the TWAIN device and that error cannot be handled programatically by ImageGear (which would result in an ImageGear.Core.ImGearException being thrown), the error code returned by the TWAIN device will be indicated the Value2 property on the exception object. The Value1 property will be 7000, in this case.
System.Object
System.ValueType
System.Enum
ImageGear.TWAIN.ImGearConditionCode