Deletes the specifed page from the specified Master Form.
Syntax
Parameters
- attributes
-
The Master Form attributes object.
- pageNumber
-
The page of the Master Form being deleted. The page number is a 1-based index.
Example
For a complete example on using the forms recognition and processing, refer to the FormRecognitionEngine example.
This example deletes a page from the Master Form
Visual Basic | Copy Code |
---|
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); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also