Document Comparison .NET Cloud REST API
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial
This cloud REST API enhances your C#, ASP.NET & other .NET cloud apps to compare two documents, fetch, accept or reject the changes. Supports 90+ file formats.
Cloud Document Comparison Features
- Compare two documents and fetch changes.
- Fetch document changes based on the change category, such as numeric only.
- Accept or reject the changes that come up after document comparison.
- Get the image stream of the resultant document via the
JsonRequest
object.
- Save the resultant document to streams as a set of images.
- Get the resultant document path.
- Add the summary page to the resultant document after comparison.
- Show deleted components in the resultant document.
- Detect style changes.
- Get or set a password to the resultant document.
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX, ODT, OTT, RTF, TXT
Microsoft Excel: XLS, XLSB, XLSM, XLSX, XLTM, XLTX, ODS, OTS, CSV, TSV
Microsoft PowerPoint: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POTM, POTX, ODP, OTP
Microsoft Visio: VDW, VDX, VSD, VSDML, VSDX, VSS, VSSM, VSSX, VST, VSTM, VSTX, VSX, VTX
Microsoft Project: MPP, MPT
Microsoft OneNote: ONE
Email: EML, EMLX, MSG, OST, PST
Adobe Photoshop: PSD
AutoCAD: DGN, DWF, DWG, DXF, IFC, STL
eBook: EPUB, MOBI
Image: BMP, CGM, DCM, DJVU, DNG, EPS, GIF, ICO, JP2, JPF, JPX, J2K, J2C, JPM, JPG, JPEG, ODG, PNG, SVG, TIF, TIFF, WEBP
Markup: HTML, MHT, MHTML, XML
Fixed Layout: PDF, TEX, XPS
Metafile: EMF, WMF
Other: PCL, PS
Get Started
You do not need to install anything to get started with GroupDocs.Comparison Cloud SDK for .Net. Just create an account at GroupDocs for Cloud and get your application information.
Simply execute Install-Package GroupDocs.Comparison-Cloud
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Comparison assembly in your project. If you already have GroupDocs.Comparison Cloud SDK for .Net and want to upgrade it, please execute Update-Package GroupDocs.Comparison-Cloud
to get the latest version.
Please check the GitHub Repository for common usage scenarios.
Compare DOCX
Documents using REST API
// For complete examples and data files, please go to https://github.com/groupdocs-comparison-cloud/groupdocs-comparison-cloud-dotnet-samples
string MyClientSecret = ""; // Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
string MyClientId = ""; // Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
var configuration = new Configuration(MyClientId, MyClientSecret);
var apiInstance = new CompareApi(configuration);
var options = new ComparisonOptions {
SourceFile = new FileInfo {
FilePath = "source_files/word/source.docx"
},
TargetFiles = new List < FileInfo > {
new FileInfo {
FilePath = "target_files/word/target.docx"
}
},
OutputPath = "output/result.docx"
};
var request = new ComparisonsRequest(options);
var response = apiInstance.Comparisons(request);
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial