←Select platform

OcrField Class

Summary

A single rectangular region on a form that defines an OCR area on a blank (not filled-in) form. Thus, an OCR reading process can be performed on the filled form during OMR processing.

Syntax
C#
VB
C++
[SerializableAttribute()] 
[DataContractAttribute()] 
public class OcrField : Field 
<SerializableAttribute(),  
 DataContractAttribute()>  
Public Class OcrField 
   Inherits Field 
public: 
   [SerializableAttribute,  
   DataContractAttribute] 
   ref class OcrField : Field 

Remarks

Fields are defined for each Omr page in the ITemplateForm. Each field requires a name and its bounds to specify where it is located on the page.

Fields can be added or retrieved using the Page.Fields property. Once defined, the fields can be saved or loaded using IForm.Save and IForm.Load methods.

LEADTOOLS supports OmrFields, OcrField, ImageField and BarcodeField.

Each field contains the FieldResult property that must be cast to the appropriate type in order to obtain the field-specific results (Omr, Image, etc).

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Processing.Omr Assembly