
## Comparer class

Provides methods intended to compare documents.


**Inheritance:** [Comparer](./) → [Processor](../processor/)

### Methods

| Name | Description |
| --- | --- |
|[ compare(v1, v2, output_file_name, author, date_time)](./compare/#str_str_str_str_datetime) | Compares two documents with additional options and saves the differences to the specified output file,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_file_name, author, date_time, compare_options)](./compare/#str_str_str_str_datetime_compareoptions) | Compares two documents with additional options and saves the differences to the specified output file,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_file_name, save_format, author, date_time)](./compare/#str_str_str_saveformat_str_datetime) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_file_name, save_format, author, date_time, compare_options)](./compare/#str_str_str_saveformat_str_datetime_compareoptions) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_file_name, save_options, author, date_time)](./compare/#str_str_str_saveoptions_str_datetime) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_file_name, save_options, author, date_time, compare_options)](./compare/#str_str_str_saveoptions_str_datetime_compareoptions) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_stream, save_format, author, date_time)](./compare/#bytesio_bytesio_bytesio_saveformat_str_datetime) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_stream, save_format, author, date_time, compare_options)](./compare/#bytesio_bytesio_bytesio_saveformat_str_datetime_compareoptions) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_stream, save_options, author, date_time)](./compare/#bytesio_bytesio_bytesio_saveoptions_str_datetime) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format,  producing changes as a number of edit and format revisions. |
|[ compare(v1, v2, output_stream, save_options, author, date_time, compare_options)](./compare/#bytesio_bytesio_bytesio_saveoptions_str_datetime_compareoptions) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format,  producing changes as a number of edit and format revisions. |
|[ compare_to_images(v1, v2, image_save_options, author, date_time)](./compare_to_images/#str_str_imagesaveoptions_str_datetime) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. |
|[ compare_to_images(v1, v2, image_save_options, author, date_time, compare_options)](./compare_to_images/#str_str_imagesaveoptions_str_datetime_compareoptions) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. |
|[ compare_to_images(v1, v2, image_save_options, author, date_time)](./compare_to_images/#bytesio_bytesio_imagesaveoptions_str_datetime) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. |
|[ compare_to_images(v1, v2, image_save_options, author, date_time, compare_options)](./compare_to_images/#bytesio_bytesio_imagesaveoptions_str_datetime_compareoptions) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. |
|[ create()](./create/#default) | Creates new instance of the converter processor. |
|[ create(context)](./create/#comparercontext) | Creates new instance of the comparer processor. |
|[ execute()](../processor/execute/#default) | Execute the processor action.<br>(Inherited from [Processor](../processor/)) |
|[ from_file(input)](../processor/from_file/#str) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) |
|[ from_file(input, load_options)](../processor/from_file/#str_loadoptions) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) |
|[ from_stream(input)](../processor/from_stream/#bytesio) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) |
|[ from_stream(input, load_options)](../processor/from_stream/#bytesio_loadoptions) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) |
|[ to_file(output)](../processor/to_file/#str) | Specifies output file for the processor.<br>(Inherited from [Processor](../processor/)) |
|[ to_file(output, save_options)](../processor/to_file/#str_saveoptions) | Specifies output file for the processor.<br>(Inherited from [Processor](../processor/)) |
|[ to_file(output, save_format)](../processor/to_file/#str_saveformat) | Specifies output file for the processor.<br>(Inherited from [Processor](../processor/)) |
|[ to_stream(output, save_options)](../processor/to_stream/#bytesio_saveoptions) | Specifies output stream for the processor.<br>(Inherited from [Processor](../processor/)) |
|[ to_stream(output, save_format)](../processor/to_stream/#bytesio_saveformat) | Specifies output stream for the processor.<br>(Inherited from [Processor](../processor/)) |
|[ to_streams(output, save_options)](../processor/to_streams/#unknown_saveoptions) | <br>(Inherited from [Processor](../processor/)) |
|[ to_streams(output, save_format)](../processor/to_streams/#unknown_saveformat) | <br>(Inherited from [Processor](../processor/)) |

### See Also

* module [aspose.words.lowcode](../)
* class [Processor](../processor/)

