- masterAttributes
- The attributes of the Master Form.
- masterPageNumber
- The reference Master Form page. The page number is a 1-based index.
- formAttributes
- The Form attributes object.
- formPageNumber
- The page of the form being aligned. The page number is a 1-based index.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function ComparePage( _ ByVal masterAttributes As FormRecognitionAttributes, _ ByVal masterPageNumber As Integer, _ ByVal formAttributes As FormRecognitionAttributes, _ ByVal formPageNumber As Integer _ ) As PageRecognitionResult |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public PageRecognitionResult ComparePage( FormRecognitionAttributes masterAttributes, int masterPageNumber, FormRecognitionAttributes formAttributes, int formPageNumber ) |
C++/CLI | |
---|---|
public: PageRecognitionResult^ ComparePage( FormRecognitionAttributes^ masterAttributes, int masterPageNumber, FormRecognitionAttributes^ formAttributes, int formPageNumber ) |
Parameters
- masterAttributes
- The attributes of the Master Form.
- masterPageNumber
- The reference Master Form page. The page number is a 1-based index.
- formAttributes
- The Form attributes object.
- formPageNumber
- The page of the form being aligned. The page number is a 1-based index.
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 |
---|---|
'''This method compares the first page of a Form to the first page of a Master Form. |
C# | Copy Code |
---|---|
///This method compares the first page of a Form to the first page of a Master Form. |
Comparison should be done between two attributes that has been generated using the Default Manager Objects, for example if the Master Form attributes has been generated using the BarcodeManager and the Form attributes has been generated using the OcrManager then the Form will not be recognized since the Master Form attributes do not have the text features of the Form.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family