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