The following code snippet shows how activate comparison of the Variable, Built and Custom properties:
usingGroupDocs.Comparison;usingGroupDocs.Comparison.Options;// ...using(Comparercomparer=newComparer("source.docx")){comparer.Add("target.docx");CompareOptionsoptions=newCompareOptions();options.CompareVariableProperty=true;// to activate the comparison of variable propertiesoptions.CompareDocumentProperty=true;// to activate the comparison of built and custom propertiescomparer.Compare("result.docx",options);}
The result is as follows:
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Cookie Notice
Language
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.