ImageFormField Class (original) (raw)
Summary
A single rectangular region on a form that defines an image area on a blank (not filled-in) form to be used when an image reading process is performed on the filled form during form processing.
Syntax
[SerializableAttribute()]
public class ImageFormField : [FormField](formfield.html)
public class ImageFormField
extends [FormField](formfield.html)
implements java.io.Serializable
[SerializableAttribute()]
public ref class ImageFormField : public [FormField](formfield.html)
class ImageFormField(FormField):
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 an ImageFormField.
public void AddImageFormField(FormProcessingEngine processingEngine)
{
//Create a new page for the form.
FormPage formPage = new FormPage(1, 150, 150);
ImageFormField imageField = new ImageFormField();
imageField.Name = "Signature";
imageField.Bounds = new LeadRect(196, 327, 1402, 40);
formPage.Add(imageField);
//Add the page to the engine
processingEngine.Pages.Add(formPage);
}