To save output document in different format, follow these steps:
Instantiate the Comparer object. Specify the source document path or stream.
Call the Add method. Specify the target document path or stream.
Call the Compare method. Specify the result document path with the required format.
The following code snippet shows how to save comparison result in different format:
usingGroupDocs.Comparison;// ...using(Comparercomparer=newComparer("source.txt")){// Add target documentcomparer.Add("target.txt");// Compare and save comparison resultcomparer.Compare("result.pdf");}
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.