←Select platform

Image Property

Summary

Gets or sets RasterImage Associated with FormRecognitionAttributes object, this image should be set before using FormRecognitionAttributes with PageRecognitionOptions with Leadtools.Forms.FormsRecognitionMethod.Simple.

Syntax

C#
VB
C++
public Leadtools.RasterImage Image {get; set;}
Public Property Image As Leadtools.RasterImage
public: 
property Leadtools.RasterImage^ Image { 
   Leadtools.RasterImage^ get(); 
   void set (    Leadtools.RasterImage^ ); 
} 

Property Value

the value should be set by user when needed, otherwise, set it to null.

Example

C#
VB
Imports Leadtools 
Imports Leadtools.Barcode 
Imports Leadtools.Codecs 
Imports Leadtools.Forms 
Imports Leadtools.Forms.Ocr 
Imports Leadtools.Forms.Processing 
Imports Leadtools.Forms.Recognition 
Imports Leadtools.Forms.Recognition.Barcode 
Imports Leadtools.Forms.Recognition.Ocr 
 
'''This method compares a Form to a List of Master Form 
Public Function CompareFormFast(page As RasterImage, formAttributes As FormRecognitionAttributes, mastersAttributes As List(Of FormRecognitionAttributes), engine As FormRecognitionEngine) As FormRecognitionResult 
   formAttributes.Image = page 
   Return engine.CompareFormFast(mastersAttributes, formAttributes, Nothing) 
End Function 
using Leadtools; 
using Leadtools.Barcode; 
using Leadtools.Codecs; 
using Leadtools.Forms; 
using Leadtools.Forms.Ocr; 
using Leadtools.Forms.Processing; 
using Leadtools.Forms.Recognition; 
using Leadtools.Forms.Recognition.Barcode; 
using Leadtools.Forms.Recognition.Ocr; 
 
///This method compares a Form to a List of Master Form. 
public FormRecognitionResult CompareFormFast(RasterImage page, FormRecognitionAttributes formAttributes, List<FormRecognitionAttributes> mastersAttributes, FormRecognitionEngine engine) 
{ 
   formAttributes.Image = page; 
   return engine.CompareFormFast(mastersAttributes, formAttributes, null); 
} 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Recognition Assembly
Click or drag to resize