Class that represents BarCodeDetection capabilities supported by device.
MaxRetries restricts the number of times a search will be retried if none are found on each page.
Refine this capability to limit the number of times the bar code search algorithm is retried on a page that contains no bar codes.
BarCodeSearchPriorities restricts bar code searching to certain orientations, or prioritizes one orientation over the other.
Negotiate this capability if the orientation of bar codes is already known to the application. Refinement of this capability can
speed the bar code search.
Inheritance Hierarchy
TwainScanning.CapabilityCapSetBase
TwainScanning.Capability.CapabilitySetsBarCodeDetection
Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
The BarCodeDetection type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCapabilities | (Inherited from CapSetBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeCapT | (Inherited from CapSetBase.) | |
MakeCapArrT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyArrayT | (Inherited from CapSetBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Enabled |
Support this capability if the scanner supports any Bar code recognition. If the device allows this
feature to be turned off, then default to off.
ICAP_BARCODEDETECTIONENABLED
| |
MaxRetries |
Restricts the number of times a search will be retried if none are found on each page.
ICAP_BARCODEMAXRETRIES
| |
MaxSearchPriorities |
Specifies the maximum number of supported search priorities.
ICAP_BARCODEMAXSEARCHPRIORITIES
| |
SearchMode |
Restricts bar code searching to certain orientations, or prioritizes one orientation over the other.
ICAP_BARCODESEARCHMODE
| |
SearchPriorities |
A prioritized list of bar code types dictating the order in which bar codes will be sought.
ICAP_BARCODESEARCHPRIORITIES
| |
SupportedTypes |
Provides a list of bar code types that can be detected by the current Data Source.
This is a read only capability.
ICAP_SUPPORTEDBARCODETYPES
| |
Timeout |
Gets the bar code timeout.
Restricts the total time spent on searching for a bar code on each page.
ICAP_BARCODETIMEOUT
|
See Also