ImageGear .NET v25.2 - Updated
ImageGear.Comparison Assembly / ImageGear.Comparison Namespace / ImGearComparison Class / HasDifferences Method / HasDifferences(ImGearDocument,ImGearDocument) Method
The first input document, usually considered the "original" document.
The second input document, usually considered the "modified" document.




In This Topic
    HasDifferences(ImGearDocument,ImGearDocument) Method
    In This Topic
    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 _
    ) As Boolean
    'Usage
     
    Dim oldDocument As ImGearDocument
    Dim newDocument As ImGearDocument
    Dim value As Boolean
     
    value = ImGearComparison.HasDifferences(oldDocument, newDocument)
    public static bool HasDifferences( 
       ImGearDocument oldDocument,
       ImGearDocument newDocument
    )
    public: static bool HasDifferences( 
       ImGearDocument* oldDocument,
       ImGearDocument* newDocument
    ) 
    public:
    static bool HasDifferences( 
       ImGearDocument^ oldDocument,
       ImGearDocument^ newDocument
    ) 

    Parameters

    oldDocument
    The first input document, usually considered the "original" document.
    newDocument
    The second input document, usually considered the "modified" document.

    Return Value

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