ImageGear .NET v25.2 - Updated
HasDifferences(ImGearDocument,ImGearDocument,ComparisonOptions) Method




ImageGear.Comparison Assembly > ImageGear.Comparison Namespace > ImGearComparison Class > HasDifferences Method : HasDifferences(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.
Checks whether two documents have differences. Currently, only PDF documents are supported.
Syntax
'Declaration
 
Public Overloads Shared Function HasDifferences( _
   ByVal oldDocument As ImGearDocument, _
   ByVal newDocument As ImGearDocument, _
   ByVal options As ComparisonOptions _
) As Boolean
'Usage
 
Dim oldDocument As ImGearDocument
Dim newDocument As ImGearDocument
Dim options As ComparisonOptions
Dim value As Boolean
 
value = ImGearComparison.HasDifferences(oldDocument, newDocument, options)
public static bool HasDifferences( 
   ImGearDocument oldDocument,
   ImGearDocument newDocument,
   ComparisonOptions options
)
public: static bool HasDifferences( 
   ImGearDocument* oldDocument,
   ImGearDocument* newDocument,
   ComparisonOptions* options
) 
public:
static bool HasDifferences( 
   ImGearDocument^ oldDocument,
   ImGearDocument^ newDocument,
   ComparisonOptions^ 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

Whether the document has any differences in text or images.
See Also

Reference

ImGearComparison Class
ImGearComparison Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.