Capability

Description

specifies the capabiltiy to be negotiated with the Data Source.

Data type

EnumDWT_Cap (int)

Syntax

.Capability = EnumDWT_Cap.ICAP_PIXELTYPE;

Remarks

Currently this property is only valid in Windows & Mac.

Prior to negotiating capability, OpenSource() needs to
be called to make Dynamic Web TWAIN ready for capability negotiation.

Capability Constants
TWAIN Version Constant ID Numeric ID Decimal ID
1.0 CAP_CUSTOMBASE 0x8000 32768
1.0 CAP_XFERCOUNT 0x0001 1
1.0 ICAP_COMPRESSION 0x0100 256
1.0 ICAP_PIXELTYPE 0x0101 257
1.0 ICAP_UNITS 0x0102 258
1.0 ICAP_XFERMECH 0x0103 259
1.0 CAP_AUTHOR 0x1000 4096
1.0 CAP_CAPTION 0x1001 4097
1.0 CAP_FEEDERENABLED 0x1002 4098
1.0 CAP_FEEDERLOADED 0x1003 4099
1.0 CAP_TIMEDATE 0x1004 4100
1.0 CAP_SUPPORTEDCAPS 0x1005 4101
1.0 CAP_EXTENDEDCAPS 0x1006 4102
1.0 CAP_AUTOFEED 0x1007 4103
1.0 CAP_CLEARPAGE 0x1008 4104
1.0 CAP_FEEDPAGE 0x1009 4105
1.0 CAP_REWINDPAGE 0x100A 4106
1.1 CAP_INDICATORS 0x100B 4107
1.6 CAP_PAPERDETECTABLE 0x100D 4109
1.6 CAP_UICONTROLLABLE 0x100E 4110
1.6 CAP_DEVICEONLINE 0x100F 4111
1.6 CAP_AUTOSCAN 0x1010 4112
1.7 CAP_THUMBNAILSENABLED 0x1011 4113
1.7 CAP_DUPLEX 0x1012 4114
1.7 CAP_DUPLEXENABLED 0x1013 4115
1.7 CAP_ENABLEDSUIONLY 0x1014 4116
1.7 CAP_CUSTOMDSDATA 0x1015 4117
1.7 CAP_ENDORSER 0x1016 4118
1.7 CAP_JOBCONTROL 0x1017 4119
1.8 CAP_ALARMS 0x1018 4120
1.8 CAP_ALARMVOLUME 0x1019 4121
1.8 CAP_AUTOMATICCAPTURE 0x101A 4122
1.8 CAP_TIMEBEFOREFIRSTCAPTURE 0x101B 4123
1.8 CAP_TIMEBETWEENCAPTURES 0x101C 4124
1.8 CAP_CLEARBUFFERS 0x101D 4125
1.8 CAP_MAXBATCHBUFFERS 0x101E 4126
1.8 CAP_DEVICETIMEDATE 0x101F 4127
1.8 CAP_POWERSUPPLY 0x1020 4128
1.8 CAP_CAMERAPREVIEWUI 0x1021 4129
1.8 CAP_DEVICEEVENT 0x1022 4130
1.8 CAP_SERIALNUMBER 0x1024 4132
1.8 CAP_PRINTER 0x1026 4134
1.8 CAP_PRINTERENABLED 0x1027 4135
1.8 CAP_PRINTERINDEX 0x1028 4136
1.8 CAP_PRINTERMODE 0x1029 4137
1.8 CAP_PRINTERSTRING 0x102A 4138
1.8 CAP_PRINTERSUFFIX 0x102B 4139
1.8 CAP_LANGUAGE 0x102C 4140
1.8 CAP_FEEDERALIGNMENT 0x102D 4141
1.8 CAP_FEEDERORDER 0x102E 4142
1.8 CAP_REACQUIREALLOWED 0x1030 4144
1.8 CAP_BATTERYMINUTES 0x1032 4146
1.8 CAP_BATTERYPERCENTAGE 0x1033 4147
1.9 1 CAP_CAMERASIDE 0x1034 4148
1.9 1 CAP_SEGMENTED 0x1035 4149
2.0 CAP_CAMERAENABLED 0x1036 4150
2.0 CAP_CAMERAORDER 0x1037 4151
2.0 CAP_MICRENABLED 0x1038 4152
2.0 CAP_FEEDERPREP 0x1039 4153
2.0 CAP_FEEDERPOCKET 0x103A 4154
2.1 CAP_AUTOMATICSENSEMEDIUM 0x103B 4155
2.1 CAP_CUSTOMINTERFACEGUID 0x103C 4156
2.2* CAP_SUPPORTEDCAPSSEGMENTUNIQUE 0x103D 4157
2.2* CAP_SUPPORTEDDATS 0x103E 4158
2.2* CAP_DOUBLEFEEDDETECTION 0x103F 4159
2.2* CAP_DOUBLEFEEDDETECTIONLENGTH 0x1040 4160
2.2* CAP_DOUBLEFEEDDETECTIONSENSITIVITY 0x1041 4161
2.2* CAP_DOUBLEFEEDDETECTIONRESPONSE 0x1042 4162
2.2* CAP_PAPERHANDLING 0x1043 4163
2.2* CAP_INDICATORSMODE 0x1044 4164
2.2* CAP_PRINTERVERTICALOFFSET 0x1045 4165
1.8 CAP_POWERSAVETIME 0x1046 4166
1.0 ICAP_AUTOBRIGHT 0x1100 4352
1.0 ICAP_BRIGHTNESS 0x1101 4353
1.0 ICAP_CONTRAST 0x1103 4355
1.0 ICAP_CUSTHALFTONE 0x1104 4356
1.0 ICAP_EXPOSURETIME 0x1105 4357
1.0 ICAP_FILTER 0x1106 4358
1.0 ICAP_FLASHUSED 0x1107 4359
1.0 ICAP_GAMMA 0x1108 4360
1.0 ICAP_HALFTONES 0x1109 4361
1.0 ICAP_HIGHLIGHT 0x110A 4362
1.0 ICAP_IMAGEFILEFORMAT 0x110C 4364
1.0 ICAP_LAMPSTATE 0x110D 4365
1.0 ICAP_LIGHTSOURCE 0x110E 4366
1.0 ICAP_ORIENTATION 0x1110 4368
1.0 ICAP_PHYSICALWIDTH 0x1111 4369
1.0 ICAP_PHYSICALHEIGHT 0x1112 4370
1.0 ICAP_SHADOW 0x1113 4371
1.0 ICAP_FRAMES 0x1114 4372
1.0 ICAP_XNATIVERESOLUTION 0x1116 4374
1.0 ICAP_YNATIVERESOLUTION 0x1117 4375
1.0 ICAP_XRESOLUTION 0x1118 4376
1.0 ICAP_YRESOLUTION 0x1119 4377
1.0 ICAP_MAXFRAMES 0x111A 4378
1.0 ICAP_TILES 0x111B 4379
1.0 ICAP_BITORDER 0x111C 4380
1.0 ICAP_CCITTKFACTOR 0x111D 4381
1.0 ICAP_LIGHTPATH 0x111E 4382
1.0 ICAP_PIXELFLAVOR 0x111F 4383
1.0 ICAP_PLANARCHUNKY 0x1120 4384
1.0 ICAP_ROTATION 0x1121 4385
1.0 ICAP_SUPPORTEDSIZES 0x1122 4386
1.0 ICAP_THRESHOLD 0x1123 4387
1.0 ICAP_XSCALING 0x1124 4388
1.0 ICAP_YSCALING 0x1125 4389
1.0 ICAP_BITORDERCODES 0x1126 4390
1.0 ICAP_PIXELFLAVORCODES 0x1127 4391
1.0 ICAP_JPEGPIXELTYPE 0x1128 4392
1.0 ICAP_TIMEFILL 0x112A 4394
1.0 ICAP_BITDEPTH 0x112B 4395
1.5 ICAP_BITDEPTHREDUCTION 0x112C 4396
1.6 ICAP_UNDEFINEDIMAGESIZE 0x112D 4397
1.7 ICAP_IMAGEDATASET 0x112E 4398
1.7 ICAP_EXTIMAGEINFO 0x112F 4399
1.7 ICAP_MINUMUMHEIGHT 0x1130 4400
1.7 ICAP_MINIMUMWIDTH 0x1131 4401
2.0 ICAP_AUTODISCARDBLANKPAGES 0x1134 4404
1.8 ICAP_FLIPROTATION 0x1136 4406
1.8 ICAP_BARCODEDETECTIONENABLED 0x1137 4407
1.8 ICAP_SUPPORTEDBARCODETYPES 0x1138 4408
1.8 ICAP_BARCODEMAXSEARCHPRIORITIES 0x1139 4409
1.8 ICAP_BARCODESEARCHPRIORITIES 0x113A 4410
1.8 ICAP_BARCODESEARCHMODE 0x113B 4411
1.8 ICAP_BARCODEMAXRETRIES 0x113C 4412
1.8 ICAP_BARCODETIMEOUT 0x113D 4413
1.8 ICAP_ZOOMFACTOR 0x113E 4414
1.8 ICAP_PATCHCODEDETECTIONENABLED 0x113F 4415
1.8 ICAP_SUPPORTEDPATCHCODETYPES 0x1140 4416
1.8 ICAP_PATCHCODEMAXSEARCHPRIORITIES 0x1141 4417
1.8 ICAP_PATCHCODESEARCHPRIORITIES 0x1142 4418
1.8 ICAP_PATCHCODESEARCHMODE 0x1143 4419
1.8 ICAP_PATCHCODEMAXRETRIES 0x1144 4420
1.8 ICAP_PATCHCODETIMEOUT 0x1145 4421
1.8 ICAP_FLASHUSED2 0x1146 4422
1.8 ICAP_IMAGEFILTER 0x1147 4423
1.8 ICAP_NOISEFILTER 0x1148 4424
1.8 ICAP_OVERSCAN 0x1149 4425
1.8 ICAP_AUTOMATICBORDERDETECTION 0x1150 4432
1.8 ICAP_AUTOMATICDESKEW 0x1151 4433
1.8 ICAP_AUTOMATICROTATE 0x1152 4434
1.9 ICAP_JPEGQUALITY 0x1153 4435
1.9 1 ICAP_FEEDERTYPE 0x1154 4436
1.9 1 ICAP_ICCPROFILE 0x1155 4437
2.0 ICAP_AUTOSIZE 0x1156 4438
2.1 ICAP_AUTOMATICCROPUSESFRAME 0x1157 4439
2.1 ICAP_AUTOMATICLENGTHDETECTION 0x1158 4440
2.1 ICAP_AUTOMATICCOLORENABLED 0x1159 4441
2.1 ICAP_AUTOMATICCOLORNONCOLORPIXELTYPE 0x115A 4442
2.1 ICAP_COLORMANAGEMENTENABLED 0x115B 4443
2.1 ICAP_IMAGEMERGE 0x115C 4444
2.1 ICAP_IMAGEMERGEHEIGHTTHRESHOLD 0x115D 4445
2.1 ICAP_SUPPORTEDEXTIMAGEINFO 0x115E 4446
2.2* ICAP_FILMTYPE 0x115F 4447
2.2* ICAP_MIRROR 0x1160 4448
2.2* ICAP_JPEGSUBSAMPLING 0x1161 4449
1.8 ACAP_XFERMECH 0x1202 4610

*Not supported yet.

When an error occurs, check ErrorCode orErrorStringfor error information.

See also

How to Negotiate Capability with Different Capability Container Types
OpenSource()
CapGet()
CapGetCurrent()
CapGetDefault()
CapReset()
CapSet()
CapType

Is this page helpful?

Leave a Reply

Your email address will not be published.