> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Comparator Object (IComparator Interface)

This object provides the methods that compare the original document or page with their copies.

## Properties

| Name             | Type                                                                                                                                                                                                                                 | Description                                                                                     |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
| Application      | [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties)                        | Returns the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object. |
| ComparisonParams | [ComparisonParams](/fine-reader/engine/api-reference/document-comparison-objects/comparisonparams), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Provides access to the comparison parameters.                                                   |

## Methods

| Name                                                                                                                 | Description                                               |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [CompareDocuments](/fine-reader/engine/api-reference/document-comparison-objects/comparator/comparedocuments-method) | Compares the original document with its copy.             |
| [ComparePages](/fine-reader/engine/api-reference/document-comparison-objects/comparator/comparepages-method)         | Compares a page from the original document with its copy. |

## Related objects

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Output parameter

This object is the output parameter of the [CreateComparator](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object.

## Samples

The object is used in the [Document Comparison](/fine-reader/engine/guided-tour/samples#documentcomparison) demo tool for Windows and the [Document Comparison](/fine-reader/engine/guided-tour/samples#documentcomparison_linux) code sample for Linux and macOS.

## See also

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)

[Migration Guide from ScanDifFinder SDK to Document Comparison API](/fine-reader/engine/specifications/migration-guide-from-scandiffinder-sdk-to-document-comparison-api)

[Document Comparison](/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/document-comparison)
