TextFormField Class (original) (raw)

Summary

A single rectangular region on a form that defines a text area on a blank (not filled-in) form so a text reading process can be performed on the filled form during form processing.

Syntax

[SerializableAttribute()] public class TextFormField : [OcrFormField](ocrformfield.html)

[SerializableAttribute()] public ref class TextFormField : public [OcrFormField](ocrformfield.html)

public class TextFormField extends [OcrFormField](ocrformfield.html) implements java.io.Serializable

class TextFormField(OcrFormField): 

Example

using Leadtools; using Leadtools.Barcode; using Leadtools.Codecs; using Leadtools.Forms.Common; using Leadtools.Ocr; using Leadtools.Forms.Processing; using Leadtools.Forms.Recognition; using Leadtools.Forms.Recognition.Barcode; using Leadtools.Forms.Recognition.Ocr; using Leadtools.Document; ///This example shows how to create a TextFormField. public void AddTextFormField(FormProcessingEngine processingEngine) { //Create a new page for the form. FormPage formPage = new FormPage(1, 150, 150); TextFormField textField = new TextFormField(); textField.Name = "Business Name"; textField.Bounds = new LeadRect(196, 327, 1402, 40); formPage.Add(textField); //Add the page to the engine processingEngine.Pages.Add(formPage); }