←Select platform

DeleteMasterFormPage Method

Summary
Deletes the specified page from the specified Master Form.

Syntax
C#
C++/CLI
Java
Python
public void DeleteMasterFormPage( 
   FormRecognitionAttributes attributes, 
   int pageNumber 
) 
public void deleteMasterFormPage( 
   FormRecognitionAttributes attributes, 
   int pageNumber 
); 
public: 
void DeleteMasterFormPage(  
   FormRecognitionAttributes^ attributes, 
   int pageNumber 
)  
def DeleteMasterFormPage(self,attributes,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

This example deletes a page from the Master Form

C#
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 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); 
} 
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.