ComparePages Method of the Comparator Object
This method compares a page from the original document with its copy. Both pages should already have been recognized using, for example, the ProcessPages method of the FRDocument object (or another method that performs document synthesis).
This method returns the ComparisonResult object that contains all the changes made to the page.
Syntax
C++
HRESULT ComparePages( IFRPage* RefPage, IFRPage* UserPage, IComparisonResult** Result );
C#
IComparisonResult ComparePages( IFRPage RefPage, IFRPage UserPage );
Visual Basic .NET
Function ComparePages( _ RefPage As IFRPage, _ UserPage As IFRPage _ ) As IComparisonResult
Parameters
- RefPage
- [in] Refers to the FRPage object that contains the original page to be compared. This parameter must not be NULL.
- UserPage
- [in] Refers to the FRPage object that contains the page copy to be compared. This parameter must not be NULL.
- Result
- [out, retval] A pointer to IComparisonResult* pointer variable that receives the interface pointer of the output ComparisonResult object.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:40