←Select platform

DeleteMasterFormPage Method

Summary

Deletes the specified page from the specified Master Form.

Syntax

C#
VB
C++
public void DeleteMasterFormPage( 
   FormRecognitionAttributes attributes, 
   int pageNumber 
) 
  
Public Sub DeleteMasterFormPage( _ 
   ByVal attributes As Leadtools.Forms.Recognition.FormRecognitionAttributes, _ 
   ByVal pageNumber As Integer _ 
)  
public: 
void DeleteMasterFormPage(  
   Leadtools.Forms.Recognition.FormRecognitionAttributes^ attributes, 
   int pageNumber 
)  

Parameters

attributes
The Master Form attribute object.

pageNumber
The page of the Master Form being deleted. The page number is a 1-based index.

Remarks

The object should be a Master Form attribute object. To delete a page from a Form attribute object, call the DeleteFormPage method.

Example

For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.

This example deletes a page from the Master Form

C#
VB
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 deletes a page from a Master Form recognition attributes. 
public void DeletePageFromMasterForm(FormRecognitionEngine recognitionEngine, 
                                     int pagenumber, 
                                     FormRecognitionAttributes form) 
{ 
   recognitionEngine.OpenMasterForm(form); 
   recognitionEngine.DeleteMasterFormPage(form, pagenumber); 
   recognitionEngine.CloseMasterForm(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 deletes a page from a Master Form recognition attributes. 
Public Sub DeletePageFromMasterForm(recognitionEngine As FormRecognitionEngine, pagenumber As Integer, form As FormRecognitionAttributes) 
   recognitionEngine.OpenMasterForm(form) 
   recognitionEngine.DeleteMasterFormPage(form, pagenumber) 
   recognitionEngine.CloseMasterForm(form) 
End Sub 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Recognition Assembly