ImageGear .NET v24.12 - Updated
Compare(ImGearDocument,ImGearDocument,ComparisonOptions) Method




ImageGear24.Comparison Assembly > ImageGear.Comparison Namespace > ImGearComparison Class > Compare Method : Compare(ImGearDocument,ImGearDocument,ComparisonOptions) Method
The first input document, usually considered the "original" document.
The second input document, usually considered the "modified" document.
Options that control the comparison.
Compares the content (text and images) of two documents. Currently, only PDF documents are supported.
Syntax
'Declaration
 
Public Overloads Shared Function Compare( _
   ByVal oldDocument As ImGearDocument, _
   ByVal newDocument As ImGearDocument, _
   ByVal options As ComparisonOptions _
) As IComparisonResult
'Usage
 
Dim oldDocument As ImGearDocument
Dim newDocument As ImGearDocument
Dim options As ComparisonOptions
Dim value As IComparisonResult
 
value = ImGearComparison.Compare(oldDocument, newDocument, options)

Parameters

oldDocument
The first input document, usually considered the "original" document.
newDocument
The second input document, usually considered the "modified" document.
options
Options that control the comparison.

Return Value

An object with the result of the comparison.
See Also

Reference

ImGearComparison Class
ImGearComparison Members
Overload List