DEV Community

Cover image for Accept or reject PDF comparison changes in C#
Atir Tahir
Atir Tahir

Posted on • Originally published at blog.groupdocs.com

3 1

Accept or reject PDF comparison changes in C#

You might be looking for an API that provides ability to apply or discard specific changes between source and target documents and save resultant document with (or without) selected changes.
About the API
GroupDocs.Comparison for .NET is a back-end API that can be integrated in any .NET (existing or new) application without any third party tool/software dependency. Currently API supports all these file formats.
Steps to apply/reject changes

  • Instantiate Comparer object with source document path or stream
  • Call Add method and specify path target document path or stream
  • Call Compare method
  • Call GetChanges method and obtain detected changes list
  • Set ComparisonActionof needed change object to ComparisonAction.Accept or ComparisonAction.Reject value
  • Call ApplyChanges method and pass collection of changes to it

Continue reading : http://bit.ly/36C1IiA

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay