←Select platform

TwainConditionCode Enumeration

Summary
The condition code constants for retrieving the extended image information.

Syntax
C#
C++/CLI
Python
public enum TwainConditionCode   
public enum class TwainConditionCode   
class TwainConditionCode(Enum): 
   Success = 0 
   Bummer = 1 
   LowMemory = 2 
   Nods = 3 
   MaxConnections = 4 
   OperationError = 5 
   BadCap = 6 
   BadProtocol = 9 
   BadValue = 10 
   SeqError = 11 
   BadDest = 12 
   CapUnsupported = 13 
   CapBadOperation = 14 
   CapSeqError = 15 
   Denied = 16 
   FileExists = 17 
   FileNotFound = 18 
   NotEmpty = 19 
   PaperJam = 20 
   PaperDoubleFeed = 21 
   FileWriteError = 22 
   CheckDeviceOnline = 23 
   Interlock = 24 
   DamagedCorner = 25 
   FocusError = 26 
   DocTooLight = 27 
   DocTooDark = 28 
   CustomBase = 32768 
Members
ValueMemberDescription
0Success TWCC_SUCCESS
1Bummer TWCC_BUMMER
2LowMemory TWCC_LOWMEMORY
3Nods TWCC_NODS
4MaxConnections TWCC_MAXCONNECTIONS
5OperationError TWCC_OPERATIONERROR
6BadCap TWCC_BADCAP
9BadProtocol TWCC_BADPROTOCOL
10BadValue TWCC_BADVALUE
11SeqError TWCC_SEQERROR
12BadDest TWCC_BADDEST
13CapUnsupported TWCC_CAPUNSUPPORTED
14CapBadOperation TWCC_CAPBADOPERATION
15CapSeqError TWCC_CAPSEQERROR
16Denied TWCC_DENIED
17FileExists TWCC_FILEEXISTS
18FileNotFound TWCC_FILENOTFOUND
19NotEmpty TWCC_NOTEMPTY
20PaperJam TWCC_PAPERJAM
21PaperDoubleFeed TWCC_PAPERDOUBLEFEED
22FileWriteError TWCC_FILEWRITEERROR
23CheckDeviceOnline TWCC_CHECKDEVICEONLINE
24Interlock TWCC_INTERLOCK
25DamagedCorner TWCC_DAMAGEDCORNER
26FocusError TWCC_FOCUSERROR
27DocTooLight TWCC_DOCTOOLIGHT
28DocTooDark TWCC_DOCTOODARK
32768CustomBase TWCC_CUSTOMBASE
Remarks

For more information about this enumeration and its values, refer to the TWAIN specification.

Requirements

Target Platforms

See Also

Reference

Leadtools.Twain Namespace

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.