The AddMasterFormPage(FormRecognitionAttributes,RasterImage,PageRecognitionOptions) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- 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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub AddMasterFormPage( _ ByVal attributes As FormRecognitionAttributes, _ ByVal page As RasterImage, _ ByVal pageOptions As PageRecognitionOptions _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As FormRecognitionEngine Dim attributes As FormRecognitionAttributes Dim page As RasterImage Dim pageOptions As PageRecognitionOptions instance.AddMasterFormPage(attributes, page, pageOptions) |
C# | |
---|---|
public void AddMasterFormPage( FormRecognitionAttributes attributes, RasterImage page, PageRecognitionOptions pageOptions ) |
C++/CLI | |
---|---|
public: void AddMasterFormPage( FormRecognitionAttributes^ attributes, RasterImage^ page, PageRecognitionOptions^ pageOptions ) |
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.
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example adds a page to the master form
Visual Basic | ![]() |
---|---|
''' This method adds a page to a Master Form recognition attributes object. 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# | ![]() |
---|---|
/// 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); } |
The attributes should be a Master Form attributes, this method does not work for Forms attributes. To add a page to a Form attributes use FormRecognitionEngine.AddFormPage.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7