Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Forms.Recognition Namespace > FormRecognitionEngine Class : CreateMasterForm Method |
public FormRecognitionAttributes CreateMasterForm( string formName, Guid formGuid, FormRecognitionOptions formOptions )
'Declaration Public Function CreateMasterForm( _ ByVal formName As String, _ ByVal formGuid As Guid, _ ByVal formOptions As FormRecognitionOptions _ ) As FormRecognitionAttributes
'Usage Dim instance As FormRecognitionEngine Dim formName As String Dim formGuid As Guid Dim formOptions As FormRecognitionOptions Dim value As FormRecognitionAttributes value = instance.CreateMasterForm(formName, formGuid, formOptions)
public: FormRecognitionAttributes^ CreateMasterForm( String^ formName, Guid formGuid, FormRecognitionOptions^ formOptions )
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example creates a Master Form.
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 creates a Master Form recognition attributes. Public Function CreateMasterForm(recognitionEngine As FormRecognitionEngine, name As String) As FormRecognitionAttributes Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateMasterForm(name, Guid.Empty, Nothing) recognitionEngine.CloseMasterForm(attributes) Return attributes 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 creates a Master Form recognition attributes. public FormRecognitionAttributes CreateMasterForm(FormRecognitionEngine recognitionEngine, string name) { FormRecognitionAttributes attributes = recognitionEngine.CreateMasterForm(name, Guid.Empty, null); recognitionEngine.CloseMasterForm(attributes); return attributes; }