Appends a new page to the specified Form attributes object.
The Form attributes object should be opened before the addition
using
FormRecognitionEngine.OpenForm.
Syntax
Parameters
- attributes
-
The Form attributes object.
- page
-
The page image that is going to be added to the Form attributes object.
- pageOptions
-
Specifies the options for the page.
Example
For a complete example on using the forms recognition and processing, refer to the FormRecognitionEngine example.
This example adds a page to the form
Visual Basic | Copy Code |
---|
Public Sub AddPageToForm(ByVal recognitionEngine As FormRecognitionEngine, ByVal image As RasterImage, ByVal attributes As FormRecognitionAttributes)
recognitionEngine.OpenForm(attributes)
recognitionEngine.AddFormPage(attributes, image, Nothing)
recognitionEngine.CloseForm(attributes)
End Sub
|
C# | Copy Code |
---|
/// This method adds a page to form attributes for recognition. public void AddPageToForm(FormRecognitionEngine recognitionEngine, RasterImage image, FormRecognitionAttributes attributes) { recognitionEngine.OpenForm(attributes); recognitionEngine.AddFormPage(attributes, image, null); recognitionEngine.CloseForm(attributes); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also