Prior to starting OCR process, this example prompts the user to
Private Sub cmdOcrOptions_Click()
Imgocr1.SetDefaultValues (True) 'Return OCR properties
'to system defaults
ret1 = Imgocr1.ShowOcr 'Display OCR layout and
'output dialog
If ret1 = CancelDialog Then Exit Sub 'Do not OCR if user pressed Cancel
ret2 = Imgocr1.ShowOcrOptions 'Display OCR Options dialog
If ret2 = CancelDialog Then Exit Sub 'Do not OCR if user pressed Cancel
Imgocr1.StartOcr
End Sub