Deletes the specifed page from the specified Form attributes object.
Syntax
Parameters
- attributes
-
The form attributes object.
- pageNumber
-
The page being deleted from the form. 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 Form
Visual Basic | Copy Code |
---|
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
|
C# | Copy Code |
---|
/// 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); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also