Leadtools.Forms.Recognition Namespace > FormRecognitionEngine Class : DeleteMasterFormPage Method |
public void DeleteMasterFormPage( FormRecognitionAttributes attributes, int pageNumber )
'Declaration Public Sub DeleteMasterFormPage( _ ByVal attributes As FormRecognitionAttributes, _ ByVal pageNumber As Integer _ )
'Usage Dim instance As FormRecognitionEngine Dim attributes As FormRecognitionAttributes Dim pageNumber As Integer instance.DeleteMasterFormPage(attributes, pageNumber)
public: void DeleteMasterFormPage( FormRecognitionAttributes^ attributes, int pageNumber )
The object should be a Master Form attribute object. To delete a page from a Form attribute object, call the DeleteFormPage method.
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 object. Public Sub DeletePageFromMasterForm(ByVal recognitionEngine As FormRecognitionEngine, _ ByVal pagenumber As Integer, _ ByVal form As FormRecognitionAttributes) recognitionEngine.OpenMasterForm(form) recognitionEngine.DeleteMasterFormPage(form, pagenumber) recognitionEngine.CloseMasterForm(form) End Sub
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); }