ImageEn, unit ietwain

TIETwainParams.IsCapabilitySupported

TIETwainParams.IsCapabilitySupported


Declaration

function IsCapabilitySupported(cap: word): boolean;


Description

Returns true if the specified capability is supported by the selected device.

The following capabilities can be specified:
Const Description Value (Hex/Decimal)
ACAP_XFERMECH Defines the data transfer mechanism for audio data $1202 (4610)
CAP_ALARMS Controls and queries alarm conditions on the scanner $1018 (4120)
CAP_ALARMVOLUME Sets the volume of the scanner's audible alarms $1019 (4121)
CAP_AUTHOR Specifies the author information $1000 (4096)
CAP_AUTOFEED Enables the scanner to automatically feed the next page after a scan $1007 (4103)
CAP_AUTOMATICCAPTURE Enables the scanner to automatically capture images without user interaction $101A (4122)
CAP_AUTOMATICSENSEMEDIUM Enables automatic detection of the document size and type $103B (4155)
CAP_AUTOSCAN Enables automatic scanning of pages as they are fed $1010 (4112)
CAP_BATTERYMINUTES Reports the estimated remaining battery life in minutes $1032 (4146)
CAP_BATTERYPERCENTAGE Reports the estimated remaining battery life as a percentage $1033 (4147)
CAP_CAMERAENABLED Enables or disables the digital camera functionality $1036 (4150)
CAP_CAMERAORDER Specifies the order in which multiple cameras are used $1037 (4151)
CAP_CAMERAPREVIEWUI Enables or disables the preview UI for a digital camera $1021 (4129)
CAP_CAMERASIDE Selects which side of a digital camera (e.g., front or back) is active $1034 (4148)
CAP_CAPTION Adds a caption or annotation to the scanned document $1001 (4097)
CAP_CLEARPAGE Ejects or discards the current page from the scanner $1008 (4104)
CAP_CUSTOMDSDATA Allows the application to exchange custom data with the scanner $1015 (4117)
CAP_CUSTOMINTERFACEGUID Provides a GUID for a custom UI extension $103C (4156)
CAP_DEVICEEVENT Reports specific events from the scanner, such as a paper jam $1022 (4130)
CAP_DEVICEONLINE Reports whether the scanner device is online and ready for use $100F (4111)
CAP_DEVICETIMEDATE Retrieves or sets the scanner's device-specific time and date $101F (4127)
CAP_DOUBLEFEEDDETECTION Enables or disables the double-feed detection feature $103F (4159)
CAP_DOUBLEFEEDDETECTIONLENGTH Sets the document length threshold for double-feed detection $1040 (4160)
CAP_DOUBLEFEEDDETECTIONRESPONSE Defines the scanner's response when a double-feed is detected $1042 (4162)
CAP_DOUBLEFEEDDETECTIONSENSITIVITY Adjusts the sensitivity of the double-feed detection sensor $1041 (4161)
CAP_DUPLEX Indicates if the scanner supports duplex (double-sided) scanning $1012 (4114)
CAP_DUPLEXENABLED Enables or disables duplex scanning on a duplex-capable scanner $1013 (4115)
CAP_ENABLEDSUIONLY Forces the TWAIN UI to be shown even if no specific settings are requested $1014 (4116)
CAP_ENDORSER Controls the endorser or imprinter on the scanner $1016 (4118)
CAP_EXTENDEDCAPS Provides a list of extended capabilities not defined in the core TWAIN standard $1006 (4102)
CAP_FEEDERALIGNMENT Controls the alignment of pages as they are fed into the scanner $102D (4141)
CAP_FEEDERENABLED Enables the use of the automatic document feeder (ADF) $1002 (4098)
CAP_FEEDERLOADED Detects if the document feeder is loaded with pages $1003 (4099)
CAP_FEEDERORDER Specifies the order in which pages are fed from the document feeder $102E (4142)
CAP_FEEDERPOCKET Directs the scanned page to a specific output pocket $103A (4154)
CAP_FEEDERPREP Prepares the document feeder for the next scan $1039 (4153)
CAP_FEEDPAGE Feeds the next page into the scanning position $1009 (4105)
CAP_IMAGEADDRESSENABLED Enables or disables image addressing capabilities, such as barcodes $1050 (4176)
CAP_INDICATORS Controls the display of status indicators on the scanner's hardware $100B (4107)
CAP_INDICATORSMODE Sets the display mode for the scanner's indicators $1044 (4164)
CAP_JOBCONTROL Manages job-related controls for multi-document scanning sessions $1017 (4119)
CAP_LANGUAGE Sets the language for the scanner's user interface and messages $102C (4140)
CAP_MAXBATCHBUFFERS Specifies the maximum number of images the scanner can hold in its buffer $101E (4126)
CAP_MICRENABLED Enables or disables Magnetic Ink Character Recognition (MICR) $1038 (4152)
CAP_PAPERDETECTABLE Indicates if the scanner can detect the presence of paper in the feeder or on the platen $100D (4109)
CAP_PAPERHANDLING Controls various aspects of paper handling, such as front or back feed $1043 (4163)
CAP_POWERSAVETIME Sets the time delay before the scanner enters a power-save state $1046 (4166)
CAP_POWERSUPPLY Reports the status of the scanner's power supply (e.g., AC, battery) $1020 (4128)
CAP_PRINTER Controls the printer or endorser functionality on the scanner $1026 (4134)
CAP_PRINTERCHARROTATION Sets the rotation of characters for the printer $1047 (4167)
CAP_PRINTERENABLED Enables or disables the physical printer on the scanner $1027 (4135)
CAP_PRINTERFONTSTYLE Sets the font style for the printer, such as bold or italic $1048 (4168)
CAP_PRINTERINDEX Retrieves or sets the current index or counter for the printer $1028 (4136)
CAP_PRINTERINDEXLEADCHAR Sets the leading character for the printer index $1049 (4169)
CAP_PRINTERINDEXMAXVALUE Sets the maximum value for the printer's index counter $104A (4170)
CAP_PRINTERINDEXNUMDIGITS Sets the number of digits to use for the printer's index $104B (4171)
CAP_PRINTERINDEXSTEP Sets the increment step for the printer's index counter $104C (4172)
CAP_PRINTERINDEXTRIGGER Defines when the printer's index counter is incremented $104D (4173)
CAP_PRINTERMODE Sets the printing mode, such as stamping or endorsing $1029 (4137)
CAP_PRINTERSTRING Specifies the string of characters to be printed on the page $102A (4138)
CAP_PRINTERSTRINGPREVIEW Shows a preview of the text that will be printed $104E (4174)
CAP_PRINTERSUFFIX Specifies a suffix to be appended to the printed string $102B (4139)
CAP_PRINTERVERTICALOFFSET Adjusts the vertical position of the printed text $1045 (4165)
CAP_REACQUIREALLOWED Indicates if the application can re-acquire an image from the buffer $1030 (4144)
CAP_REWINDPAGE Rewinds the current page to the feeder's input tray $100A (4106)
CAP_SEGMENTED Enables or disables the segmented scanning mode for cameras $1035 (4149)
CAP_SERIALNUMBER Retrieves the serial number of the scanning device $1024 (4132)
CAP_SHEETCOUNT Reports the total number of sheets that have been scanned $104F (4175)
CAP_SUPPORTEDCAPS Lists all the capabilities supported by the scanner $1005 (4101)
CAP_SUPPORTEDCAPSSEGMENTUNIQUE Provides a list of unique capabilities supported by the scanner segment $103D (4157)
CAP_SUPPORTEDDATS Lists the Data Types (DATs) supported by the scanner $103E (4158)
CAP_THUMBNAILSENABLED Enables the generation of thumbnail images for preview $1011 (4113)
CAP_TIMEBEFOREFIRSTCAPTURE Sets the delay before the first image is captured in an automatic session $101B (4123)
CAP_TIMEBETWEENCAPTURES Sets the delay between successive image captures in an automatic session $101C (4124)
CAP_TIMEDATE Retrieves the scanner s internal time and date settings $1004 (4100)
CAP_UICONTROLLABLE Determines if the scanner's user interface (UI) can be controlled by the application $100E (4110)
CAP_XFERCOUNT Specifies the number of images to be transferred from the scanner to the application $0001 (1)
ICAP_AUTOBRIGHT Enables or disables automatic brightness adjustment $1100 (4352)
ICAP_AUTODISCARDBLANKPAGES Enables the automatic discarding of blank pages during scanning $1134 (4404)
ICAP_AUTOMATICBORDERDETECTION Enables or disables automatic border detection and cropping $1150 (4432)
ICAP_AUTOMATICCOLORENABLED Enables or disables automatic color mode detection $1159 (4441)
ICAP_AUTOMATICCOLORNONCOLORPIXELTYPE Specifies the pixel types for color and non-color pages in an automatic mode $115A (4442)
ICAP_AUTOMATICCROPUSESFRAME Specifies if automatic cropping should use the defined frame $1157 (4439)
ICAP_AUTOMATICDESKEW Enables or disables automatic deskewing of the image $1151 (4433)
ICAP_AUTOMATICLENGTHDETECTION Enables or disables automatic detection of document length $1158 (4440)
ICAP_AUTOMATICROTATE Enables or disables automatic rotation of the image $1152 (4434)
ICAP_AUTOSIZE Enables or disables automatic document size detection $1156 (4438)
ICAP_BARCODEDETECTIONENABLED Enables or disables the detection of barcodes on a document $1137 (4407)
ICAP_BARCODEMAXRETRIES Sets the maximum number of times the scanner will retry barcode detection $113C (4412)
ICAP_BARCODEMAXSEARCHPRIORITIES Sets the maximum number of barcode types to search for $1139 (4409)
ICAP_BARCODESEARCHMODE Defines the search mode for barcode detection (e.g., horizontal, vertical) $113B (4411)
ICAP_BARCODESEARCHPRIORITIES Sets the order of priority for searching barcode types $113A (4410)
ICAP_BARCODETIMEOUT Sets the timeout for barcode detection $113D (4413)
ICAP_BITDEPTH Sets the number of bits per pixel for the image $112B (4395)
ICAP_BITDEPTHREDUCTION Controls the method for reducing the bit depth of the image $112C (4396)
ICAP_BITORDER Sets the bit order for pixel data transfer $111C (4380)
ICAP_BITORDERCODES Lists the supported bit order codes $1126 (4390)
ICAP_BRIGHTNESS Sets the brightness level of the scanned image $1101 (4353)
ICAP_CCITTKFACTOR Sets the CCITT K-factor for Group 4 compression $111D (4381)
ICAP_COLORMANAGEMENTENABLED Enables or disables color management for the scan $115B (4443)
ICAP_COMPRESSION Sets the image compression format $0100 (256)
ICAP_CONTRAST Sets the contrast level of the scanned image $1103 (4355)
ICAP_CUSTHALFTONE Specifies a custom halftone pattern for black-and-white images $1104 (4356)
ICAP_EXPOSURETIME Sets the exposure time for the scanner's light source $1105 (4357)
ICAP_EXTIMAGEINFO Specifies the extended image information to be acquired $112F (4399)
ICAP_FEEDERTYPE Specifies the type of feeder being used (e.g., roller, flatbed) $1154 (4436)
ICAP_FILMTYPE Specifies the film type for film scanning $115F (4447)
ICAP_FILTER Sets a color filter to be used during the scan $1106 (4358)
ICAP_FLASHUSED Indicates if the flash was used during image capture $1107 (4359)
ICAP_FLASHUSED2 Reports which flash was used in a multi-flash system $1146 (4422)
ICAP_FLIPROTATION Combines image flipping and rotation $1136 (4406)
ICAP_FRAMES Defines the cropping area for the image $1114 (4372)
ICAP_GAMMA Sets the gamma correction value for the image $1108 (4360)
ICAP_HALFTONES Lists the supported halftone patterns for the scanner $1109 (4361)
ICAP_HIGHLIGHT Adjusts the highlight level of the image $110A (4362)
ICAP_ICCPROFILE Manages the International Color Consortium (ICC) color profile $1155 (4437)
ICAP_IMAGEDATASET Provides a list of image data sets available from the scanner $112E (4398)
ICAP_IMAGEFILEFORMAT Sets the file format for image transfer (e.g., TIFF, JPEG) $110C (4364)
ICAP_IMAGEFILTER Applies a digital filter to the image to improve quality $1147 (4423)
ICAP_IMAGEMERGE Enables or disables the merging of multiple images into one $115C (4444)
ICAP_IMAGEMERGEHEIGHTTHRESHOLD Sets the height threshold for image merging $115D (4445)
ICAP_JPEGPIXELTYPE Defines the pixel type for JPEG compression $1128 (4392)
ICAP_JPEGQUALITY Sets the quality level for JPEG compression $1153 (4435)
ICAP_JPEGSUBSAMPLING Sets the JPEG color subsampling mode $1161 (4449)
ICAP_LAMPSTATE Controls the state of the scanner's lamp (on/off) $110D (4365)
ICAP_LIGHTPATH Selects the light path (e.g., reflected, transmissive) $111E (4382)
ICAP_LIGHTSOURCE Selects the light source to be used for scanning $110E (4366)
ICAP_MAXFRAMES Specifies the maximum number of frames that can be defined for a single scan $111A (4378)
ICAP_MINIMUMHEIGHT Sets the minimum height for an automatically cropped image $1130 (4400)
ICAP_MINIMUMWIDTH Sets the minimum width for an automatically cropped image $1131 (4401)
ICAP_MIRROR Flips the image horizontally or vertically $1160 (4448)
ICAP_NOISEFILTER Applies a noise reduction filter to the image $1148 (4424)
ICAP_ORIENTATION Sets the orientation of the scanned image (e.g., portrait, landscape) $1110 (4368)
ICAP_OVERSCAN Controls the overscan feature, which captures beyond the document's edges $1149 (4425)
ICAP_PATCHCODEDETECTIONENABLED Enables or disables patch code detection $113F (4415)
ICAP_PATCHCODEMAXRETRIES Sets the maximum number of times the scanner will retry patch code detection $1144 (4420)
ICAP_PATCHCODEMAXSEARCHPRIORITIES Sets the maximum number of patch code types to search for $1141 (4417)
ICAP_PATCHCODESEARCHMODE Defines the search mode for patch code detection $1143 (4419)
ICAP_PATCHCODESEARCHPRIORITIES Sets the order of priority for searching patch code types $1142 (4418)
ICAP_PATCHCODETIMEOUT Sets the timeout for patch code detection $1145 (4421)
ICAP_PHYSICALHEIGHT Reports the physical height of the scanner's platen $1112 (4370)
ICAP_PHYSICALWIDTH Reports the physical width of the scanner's platen $1111 (4369)
ICAP_PIXELFLAVOR Specifies the ordering of color data within a pixel $111F (4383)
ICAP_PIXELFLAVORCODES Lists the supported pixel flavor codes $1127 (4391)
ICAP_PIXELTYPE Defines the type of pixel data, such as black-and-white, grayscale, or color $0101 (257)
ICAP_PLANARCHUNKY Specifies the data format (planar or chunky) $1120 (4384)
ICAP_ROTATION Rotates the image in increments of 90 degrees $1121 (4385)
ICAP_SHADOW Adjusts the shadow level of the image $1113 (4371)
ICAP_SUPPORTEDBARCODETYPES Lists the barcode types supported by the scanner $1138 (4408)
ICAP_SUPPORTEDEXTIMAGEINFO Lists the extended image information capabilities supported by the scanner $115E (4446)
ICAP_SUPPORTEDPATCHCODETYPES Lists the patch code types supported by the scanner $1140 (4416)
ICAP_SUPPORTEDSIZES Lists the supported document sizes (e.g., A4, Letter) $1122 (4386)
ICAP_THRESHOLD Sets the threshold value for converting grayscale to black and white $1123 (4387)
ICAP_TILES Specifies the tiling of an image during transfer $111B (4379)
ICAP_TIMEFILL Specifies the fill color for areas outside the scanned frame $112A (4394)
ICAP_UNDEFINEDIMAGESIZE Enables scanning of documents of an undefined size $112D (4397)
ICAP_UNITS Sets the units of measurement for image dimensions $0102 (258)
ICAP_XFERMECH Defines the data transfer mechanism (e.g., native, memory, file) $0103 (259)
ICAP_XNATIVERESOLUTION Reports the native resolution of the scanner in the X-direction $1116 (4374)
ICAP_XRESOLUTION Sets the desired resolution for the scan in the X-direction $1118 (4376)
ICAP_XSCALING Sets the horizontal scaling factor for the image $1124 (4388)
ICAP_YNATIVERESOLUTION Reports the native resolution of the scanner in the Y-direction $1117 (4375)
ICAP_YRESOLUTION Sets the desired resolution for the scan in the Y-direction $1119 (4377)
ICAP_YSCALING Sets the vertical scaling factor for the image $1125 (4389)
ICAP_ZOOMFACTOR Sets the zoom factor for the image capture $113E (4414)


Example

ImageEnMView1.MIO.SelectAcquireSource([ieaTwain]);
if ImageEnMView1.MIO.TwainParams.IsCapabilitySupported( CAP_ALARMVOLUME ) then
  showmessage('CAP_ALARMVOLUME is supported')
else
  showmessage('CAP_ALARMVOLUME is Not supported');