←Select platform

FormRecognitionAttributes Class

Summary
Describes the properties of a certain form. Attributes are encoded into an array of bytes.

Syntax
C#
C++/CLI
Java
Python
[SerializableAttribute()] 
public class FormRecognitionAttributes 
public class FormRecognitionAttributes 
    implements java.io.Serializable 
[SerializableAttribute()] 
public ref class FormRecognitionAttributes  
class FormRecognitionAttributes: 
Remarks

Attributes are encoded into array of bytes. If it is necessary to modify the attributes for the added or deleted pages of the form, the attributes object should be opened using either FormRecognitionEngine.OpenForm or FormRecognitionEngine.OpenMasterForm. Then close the object by using either FormRecognitionEngine.CloseForm or FormRecognitionEngine.CloseMasterForm.

Example
C#
using Leadtools.Forms.Common; 
using Leadtools.Forms.Recognition; 
using Leadtools.Codecs; 
 
/// This method loads the specified master form attributes. 
public FormRecognitionAttributes LoadMasterFormAttributes(string attributesFileName) 
{ 
   byte[] formData; 
   formData = File.ReadAllBytes(attributesFileName); 
   FormRecognitionAttributes attributes = new FormRecognitionAttributes(); 
   attributes.SetData(formData); 
   return attributes; 
} 
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.