Example-VB |
Displays a dialog box for OCR settings.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Imaging for Windows 95 and 98 | |
Imaging for Windows NT 4.0 |
Image OCR control
object.ShowOcr
None
Long
Setting | Description |
0 | Dialog box was canceled. |
1 | OK was pressed. |
The dialog box contains the following fields:
OCR Input | OCR Output | Page Range |
Quality Layout Recognize |
Output Format Page layout Retain/discard pictures |
All Current Page Specified pages Selection |
The following properties are used to set the initial values when the dialog box is opened.
Layout | Pages | RetainPageLayout |
OcrFromClipboard | Processing Mode | RetainPictures |
OutputType | Quality |
If OcrFromClipboard is set to true, the selection field is enabled and selected.
Entries made to dialog box fields change the values of the properties listed above.
The Pages property is set to zero if Current Page is selected, and to a blank string if All is selected.
Before you call the StartOcr method, the Pages property must reflect the current page number.
The Options button open the Options dialog box. Refer to the ShowOcrOptions method.