This enumeration refers to the type of error that has occurred in the ImageKit Control.

public enum Error

Public Members

Member Value Explanation
None 0 No error has occurred
Cancel 1 The process was canceled
ETC 2 An unspecified error has occurred
Memory 3 A memory error has occurred
Support 4 This function is not supported
Value 5 An incorrect value has been set
File 6 The file is incorrect or corrupted
Image 7 The image is incorrect or corrupted
Twain32Load 8 Twain_32.dll can not load
Draw 9 An error has occurred while drawing on or displaying an image
ImageSupport 10 That image format is not supported
Step 11 The order of execution is incorrect
ADFNoPaper 12 There is no paper in the ADF
DigitalCameraNoImage 13 There are no images in the digital camera (UI suppressed only)
DllUnload 14 The DLL is not loaded
Trans 15 Transmission error
FileNotFound 16 Cannot find file
FileCorrupt 17 The file is corrupted
Timeover 18 A timeout has occurred. The process has been cancelled
TransDenied 19 The username and/or password is incorrect. Access denied.
FileOpen 20 Cannot open file
FileCreate 21 Cannot create file
FileWrite 22 Cannot save file
FileRead 23 Cannot load file
NoImage 24 There is no image data to display
DirectoryCreate 25 Cannot create directory
ThumbnailConfigFile 50 ConfigFile has not been set
ThumbnailImageDirectory 51 ImageDirectory has not been set
ThumbnailThumbImageDirectory 52 ThumbnailImageDirectory has not been set
ThumbnailImageFileExtension 53 ImageFileExtension has not been set
ThumbnailImageWidth 54 Image width has not been set
ThumbnailImageHeight 55 Image height has not been set
Twain32Entry 101 There is no entry point for the Twain_32.dll
DsmOrDsOpen 102 The data source manager and the data source haven't been opened or can't be open
NoDataSource 103 There is no data source
MaxConnections 104 The data source is already connected to the maximum number of applications
Operation 105 An error has occurred in the data source or in the data source manager
BadProtocol 106 An unconfirmed triplet has occurred (TWAIN - DG_XXX/DAT_XXX/MSG_XXX)
DeviceOnline 107 Check the scan device's power source
PaperJam 108 Paper is jammed in the feeder
PaperDoubleFeed 109 Multiple sheets of paper have been fed into the feeder
BadResolution 110 The resolution is incorrect
DirectX 201 The DirectX environment is not correct
Connect 202 Unable to connect to the device
Interface 203 COM interface related error has occurred
TrialExpired 900 The trial version has been expired
The ImageKit.NET2 is created by Newtone Corporation