Leadtools.Forms.Recognition Namespace > FormRecognitionEngine Class : DeleteFormPage Method |
public void DeleteFormPage( FormRecognitionAttributes attributes, int pageNumber )
'Declaration Public Sub DeleteFormPage( _ ByVal attributes As FormRecognitionAttributes, _ ByVal pageNumber As Integer _ )
'Usage Dim instance As FormRecognitionEngine Dim attributes As FormRecognitionAttributes Dim pageNumber As Integer instance.DeleteFormPage(attributes, pageNumber)
public void DeleteFormPage( FormRecognitionAttributes attributes, int pageNumber )
function Leadtools.Forms.Recognition.FormRecognitionEngine.DeleteFormPage( attributes , pageNumber )
public: void DeleteFormPage( FormRecognitionAttributes^ attributes, int pageNumber )
The object should be a Form attribute object. To delete a page from a Master Form attribute object, call the DeleteMasterFormPagemethod.
''' This method deletes a page from a form attributes object for recognition. Public Sub DeletePageFromForm(ByVal recognitionEngine As FormRecognitionEngine, _ ByVal pagenumber As Integer, _ ByVal form As FormRecognitionAttributes) recognitionEngine.OpenForm(form) recognitionEngine.DeleteFormPage(form, pagenumber) recognitionEngine.CloseForm(form) End Sub
/// This method deletes a page from form attributes for recognition. public void DeletePageFromForm(FormRecognitionEngine recognitionEngine, int pagenumber, FormRecognitionAttributes form) { recognitionEngine.OpenForm(form); recognitionEngine.DeleteFormPage(form, pagenumber); recognitionEngine.CloseForm(form); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2