You are here: GdPicture.NET > Documentation > Structs, Records, Enums > Enumerations > TwainConditionCode Enumeration
logo.gif
ContentsIndexHome
PreviousUpNext
TwainConditionCode Enumeration
C#
public enum TwainConditionCode {
  TWCC_SUCCESS = 0,
  TWCC_BUMMER = 1,
  TWCC_LOWMEMORY = 2,
  TWCC_NODS = 3,
  TWCC_MAXCONNECTIONS = 4,
  TWCC_OPERATIONERROR = 5,
  TWCC_BADCAP = 6,
  TWCC_BADPROTOCOL = 9,
  TWCC_BADVALUE = 10,
  TWCC_SEQERROR = 11,
  TWCC_BADDEST = 12,
  TWCC_CAPUNSUPPORTED = 13,
  TWCC_CAPBADOPERATION = 14,
  TWCC_CAPSEQERROR = 15,
  TWCC_DENIED = 16,
  TWCC_FILEEXISTS = 17,
  TWCC_FILENOTFOUND = 18,
  TWCC_NOTEMPTY = 19,
  TWCC_PAPERJAM = 20,
  TWCC_PAPERDOUBLEFEED = 21,
  TWCC_FILEWRITEERROR = 22,
  TWCC_CHECKDEVICEONLINE = 23,
  TWCC_INTERLOCK = 24,
  TWCC_DAMAGEDCORNER = 25,
  TWCC_FOCUSERROR = 26,
  TWCC_DOCTOOLIGHT = 27,
  TWCC_DOCTOODARK = 28,
  TWCC_NOMEDIA = 29
}
Visual Basic
Public Enum TwainConditionCode
  TWCC_SUCCESS = 0
  TWCC_BUMMER = 1
  TWCC_LOWMEMORY = 2
  TWCC_NODS = 3
  TWCC_MAXCONNECTIONS = 4
  TWCC_OPERATIONERROR = 5
  TWCC_BADCAP = 6
  TWCC_BADPROTOCOL = 9
  TWCC_BADVALUE = 10
  TWCC_SEQERROR = 11
  TWCC_BADDEST = 12
  TWCC_CAPUNSUPPORTED = 13
  TWCC_CAPBADOPERATION = 14
  TWCC_CAPSEQERROR = 15
  TWCC_DENIED = 16
  TWCC_FILEEXISTS = 17
  TWCC_FILENOTFOUND = 18
  TWCC_NOTEMPTY = 19
  TWCC_PAPERJAM = 20
  TWCC_PAPERDOUBLEFEED = 21
  TWCC_FILEWRITEERROR = 22
  TWCC_CHECKDEVICEONLINE = 23
  TWCC_INTERLOCK = 24
  TWCC_DAMAGEDCORNER = 25
  TWCC_FOCUSERROR = 26
  TWCC_DOCTOOLIGHT = 27
  TWCC_DOCTOODARK = 28
  TWCC_NOMEDIA = 29
End Enum

This is record TwainConditionCode.

Members
Members 
Description 
TWCC_SUCCESS 
It worked! 
TWCC_BUMMER 
Failure due to unknown causes. 
TWCC_LOWMEMORY 
Not enough memory to perform operation. 
TWCC_NODS 
No Data Source. 
TWCC_MAXCONNECTIONS 
DS is connected to max possible applications. 
TWCC_OPERATIONERROR 
DS or DSM reported error, application shouldn't. 
TWCC_BADCAP 
Unknown capability. 
TWCC_BADPROTOCOL 
Unrecognized MSG DG DAT combination. 
TWCC_BADVALUE 
Data parameter out of range. 
TWCC_SEQERROR 
DG DAT MSG out of expected sequence. 
TWCC_BADDEST 
Unknown destination Application/Source in DSM_Entry. 
TWCC_CAPUNSUPPORTED 
Capability not supported by source. 
TWCC_CAPBADOPERATION 
Operation not supported by capability. 
TWCC_CAPSEQERROR 
Capability has dependancy on other capability. 
TWCC_DENIED 
File System operation is denied (file is protected). 
TWCC_FILEEXISTS 
Operation failed because file already exists. 
TWCC_FILENOTFOUND 
File not found. 
TWCC_NOTEMPTY 
Operation failed because directory is not empty. 
TWCC_PAPERJAM 
The feeder is jammed. 
TWCC_PAPERDOUBLEFEED 
The feeder detected multiple pages. 
TWCC_FILEWRITEERROR 
Error writing the file (meant for things like disk full conditions). 
TWCC_CHECKDEVICEONLINE 
Device seems to be offline. 
TWCC_INTERLOCK 
Cover or door is open. 
TWCC_DAMAGEDCORNER 
Document has a damaged corner. 
TWCC_FOCUSERROR 
Focusing error during document capture. 
TWCC_DOCTOOLIGHT 
Document is too light. 
TWCC_DOCTOODARK 
Document is too dark. 
TWCC_NOMEDIA 
No Media... 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.