AnnotationOcrType Example VB

This example lets the user draw OCR text regions on an image for zoned recognition.  The AnnotationType property is set to the OCR Zone annotation type, and the AnnotationOcrType property is set so a Text OCR zone can be drawn.

Private Sub cmdDrawOcrZone_Click()

    ImgEdit1.AnnotationType = wiOcrRegion
    ImgEdit1.AnnotationOcrType = wiOcrTypeText
End Sub