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
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^ );
}
the value should be set by user when needed, otherwise, set it to null.
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
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document