ShowOcrOptions Method

Example-VB

Displays the OCR Options dialog box for selecting OCR processing options.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Imaging for Windows 95 and 98
Imaging for Windows NT 4.0

Applies To

Image OCR control

Syntax

object.ShowOcrOptions

Return Value

Boolean

Setting Description

0 Dialog box was canceled
1 OK was pressed

Remarks

The dialog box contains the following fields:

OCR Training Custom Dictionaries Language
Training file
Interactive training
list box of available dictionaries
list box of available languages

If Interactive training is selected, a training dialog box is displayed while the OCR process is running. If the training dialog box is closed, OCR processing continues, but the Training process stops.

The following properties are used to set the initial values when the dialog box is opened.

Language TrainingFile TrainingFileOptions

Changing the values in the dialog box also changes the values for the properties listed above, and for the LoadDictionary method.

Any dictionaries that are selected are loaded when the user chooses the OK button.