AnnotationOcrType Example VC++
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.
[src]
void CImgEdit1Dlg::OnDrawOcrZone()
{
// This would enable the user to draw OCR text regions
// on an image for zone recognition.
ImgEdit1.SetAnnotationType(13); // wiOcrRegion
ImgEdit1.SetAnnotationOcrType(0); // wiOcrTypeText
}
[/src]