Example-VB | Example-VC++ |
Returns or sets the type of OCR zone to be drawn on an image page.
Ö | 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 Annotation Tool Button control, Image Edit control
object.AnnotationOcrType[=value]
Integer (enumerated)
Constant | Setting | Description |
wiOcrTypeText | 0 (default) | OCR Text zone Defines an area of an image containing text to be processed by the OCR engine. When the OCR engine encounters a text zone, it converts the underlying image to text. When drawn, an OCR Text zone is dark green in color. |
WiOcrTypePicture | 1 | OCR Picture zone Defines an area of an image containing one or more pictures that should not be processed by the OCR engine. When the OCR engine encounters a picture zone, it does not convert the underlying image to text, it retains the image as a graphic instead. When drawn, an OCR Picture zone is dark magenta in color. |
Applies to the OCR Zones annotation type only.
While users can draw OCR Zone annotations on any type of image, OCR processing functions only with zones drawn on read/write TIFF images.