OCR Capability Listings

Top  Previous  Next

The following section describes each of the OCR capabilities that can be retrieved and set by DTWAIN_GetOCRCapValues and DTWAIN_SetOCRCapValues.

 

Please note that you must ensure that the capability is supported by calling DTWAIN_IsOCRCapSupported, or alternately calling DTWAIN_GetOCRSupportedCaps to get the capability values.

 

The entries have the following format:

 

 Description

Describes the capability.

 

 Values

Array Type:

DTWAIN_ARRAY type to use when getting/setting values.

 

Default Value:        

The value that will be used if this capability is not set by the application.

 

Allowed Values:

Definition of the values allowed for this capability

 

Available Operations:

Describes the operations that can be performed (DTWAIN_CAPGET, DTWAIN_CAPGETDEFAULT, DTWAIN_CAPGETCURRENT, etc.)

 

Mandatory Capability:

Yes if all OCR engines support this capability, otherwise No.

                 

 Functions

         Functions that can be used for this capability.

 

 

 For the Available Operations, the following table describes the various operations allowed:

 

 

Capability Type

Description

 

DTWAIN_CAPGET

Gets all of the supported values of the capability.

 

DTWAIN_CAPGETDEFAULT

Gets the default value of the capability.

 

DTWAIN_CAPGETCURRENT

Gets the current value of the capability.

 

DTWAIN_CAPSET

Sets the current value of the capability.

 

DTWAIN_CAPRESET

Resets the capability to the OCR engine's default value.