←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.Common.FormsRecognitionMethod.Simple.

Syntax
C#
VB
C++
Java
public RasterImage Image { get; set; } 
  
Public Property Image As RasterImage 
public RasterImage getImage(); 
public void setImage( 
   RasterImage rasterImage 
); 
public: 
property RasterImage^ Image { 
   RasterImage^ get(); 
   void set (    RasterImage^ ); 
} 

Property Value

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

Example
C#
VB
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; 
 
///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); 
} 
Imports Leadtools 
Imports Leadtools.Barcode 
Imports Leadtools.Codecs 
Imports Leadtools.Forms.Common 
Imports Leadtools.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 
Requirements

Target Platforms

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

Leadtools.Forms.Recognition Assembly