The DeleteMasterFormPage Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- attributes
- The Master Form attribute object.
- pageNumber
- The page of the Master Form being deleted. The page number is a 1-based index.
| Visual Basic (Declaration) | |
|---|---|
Public Sub DeleteMasterFormPage( _ ByVal attributes As FormRecognitionAttributes, _ ByVal pageNumber As Integer _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As FormRecognitionEngine Dim attributes As FormRecognitionAttributes Dim pageNumber As Integer instance.DeleteMasterFormPage(attributes, pageNumber) | |
| C# | |
|---|---|
public void DeleteMasterFormPage( FormRecognitionAttributes attributes, int pageNumber ) | |
| C++/CLI | |
|---|---|
public: void DeleteMasterFormPage( 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.
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example deletes a page from the Master Form
| Visual Basic | Copy Code |
|---|---|
''' 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 | |
| C# | Copy Code |
|---|---|
/// 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); } | |
The object should be a Master Form attribute object. To delete a page from a Form attribute object, call the DeleteFormPage method.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code