DTWAIN_SelectDefaultOCREngine

Top  Previous  Next

The DTWAIN_SelectDefaultOCREngine function selects the default TWAIN Source.

 

DTWAIN_OCRENGINE   DTWAIN_SelectDefaultOCREngine( );

 

Parameters

None.

 

Return Values

If successful, the return value is a non-zero DTWAIN_OCRENGINE handle to the selected OCR Engine.  Otherwise 0 is returned.

 

Comments

The DTWAIN_SelectDefaultOCREngine function selects the default OCR engine installed on the system, or if there is only one OCR engine installed, DTWAIN selects that particular OCR engine automatically. The default OCR engine is always the last one that was selected by a previous invocation during OCR processing.

 

Unlike DTWAIN_SelectOCREngine the OCR Select dialog box will not be shown when this function is called.

 

Prerequisite Calls

DTWAIN_SysInitialize

 

Optional Prerequisite Calls

None.

 

***