←Select platform

Is this page helpful?

In this page

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#
C++/CLI
Java
Python
public RasterImage Image { get; set; } 
public RasterImage getImage(); 
public void setImage( 
   RasterImage rasterImage 
); 
public: 
property RasterImage^ Image { 
   RasterImage^ get(); 
   void set (    RasterImage^ ); 
} 
Image # get and set (FormRecognitionAttributes) 

Property Value

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

Example
C#
Copied to clipboard
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); 
} 
Requirements

Target Platforms

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

Leadtools.Forms.Recognition Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.