
## CompareOptions class

Allows to choose additional options for document comparison operation.
To learn more, visit the [Compare Documents](https://docs.aspose.com/words/nodejs-net/compare-documents/) documentation article.




### Constructors
| Name | Description |
| --- | --- |
| [CompareOptions()](./constructor/#default) | The default constructor. |

### Properties

| Name | Description |
| --- | --- |
| [advancedOptions](./advancedOptions/) | Specifies advanced compare options that might help to produce more precise comparison output. |
| [compareMoves](./compareMoves/) | Specifies whether to compare differences   between the two documents. |
| [granularity](./granularity/) | Specifies whether changes are tracked by character or by word. |
| [ignoreCaseChanges](./ignoreCaseChanges/) | True indicates that documents comparison is case insensitive. |
| [ignoreComments](./ignoreComments/) | Specifies whether to compare differences in comments. |
| [ignoreFields](./ignoreFields/) | Specifies whether to compare differences in fields. |
| [ignoreFootnotes](./ignoreFootnotes/) | Specifies whether to compare differences in footnotes and endnotes. |
| [ignoreFormatting](./ignoreFormatting/) | True indicates that formatting is ignored. |
| [ignoreHeadersAndFooters](./ignoreHeadersAndFooters/) | True indicates that headers and footers content is ignored. |
| [ignoreTables](./ignoreTables/) | Specifies whether to compare the differences in data contained in tables. |
| [ignoreTextboxes](./ignoreTextboxes/) | Specifies whether to compare differences in the data contained within text boxes. |
| [target](./target/) | Specifies which document shall be used as a target during comparison. |

### See Also

* module [Aspose.Words.Comparing](../)

