GroupDocs.Comparison-Cloud 19.5.0

Document Compare REST APIs for Any Platform. Boost your document compare process to compare over 50 document and image formats in any application, using our native document comparison APIs for cloud.

There is a newer version of this package available.
See the version list below for details.
Install-Package GroupDocs.Comparison-Cloud -Version 19.5.0
dotnet add package GroupDocs.Comparison-Cloud --version 19.5.0
<PackageReference Include="GroupDocs.Comparison-Cloud" Version="19.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Comparison-Cloud --version 19.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Document Comparison .NET Cloud REST API

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 change category, such as, numeric only.
  • Accept or reject the changes that come up after document comparison.
  • Get the image stream of resultant document via JsonRequest object.
  • Save the resultant document to streams as set of images.
  • Get the resultant document path.
  • Add summary page to resultant document after comparison.
  • Show deleted components in the resultant document.
  • Detect style changes.
  • Get or set password to the the resultant document.

New Features in Version 19.5.0

  • This is the first release of a completely new version of the API GroupDocs.Comparison.Cloud v2.0.
  • V2 provides much simpler and intuitive API as compared to V1.
  • V2 includes Storage and File API which enables you to manage storage and files.
  • Internal cloud solution is based on the modern micro-service architecture.

For the detailed notes, please visit GroupDocs.Comparison Cloud 19.5 Release Notes.

Supported Document Formats

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
Portable: PDF, TEX, XPS
Metafile: EMF, WMF
Other: PCL, PS

Platform Independence

GroupDocs.Comparison Cloud's platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.

Getting 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 other common usage scenarios.

Use C# Code to Compare two DOCX Files and Fetch Changes

var configuration = new Configuration
{
    AppSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    AppKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
};

// Initiate API object
var apiInstance = new ChangesApi(configuration);

// Comparison Request
ComparisonRequest comparisonRequest = new ComparisonRequest()
{
    // Comparison Request Settings
    Settings = new ComparisonRequestSettings()
    {
        GenerateSummaryPage = true,
        ShowDeletedContent = true,
        StyleChangeDetection = true,
        UseFramesForDelInsElements = false,
        DetailLevel = "Low",
        DeletedItemsStyle = new StyleSettingsValues()
        {
            BeginSeparatorString = "",
            EndSeparatorString = "",
            Color = new Color().Red
        },
        InsertedItemsStyle = new StyleSettingsValues()
        {
            BeginSeparatorString = "",
            EndSeparatorString = "",
            Color = new Color().Blue
        },
        StyleChangedItemsStyle = new StyleSettingsValues()
        {
            BeginSeparatorString = "",
            EndSeparatorString = "",
            Color = new Color().Green
        },
        CalculateComponentCoordinates = false,
        CloneMetadata = "Source",
        MarkDeletedInsertedContentDeep = false,
        MetaData = new ComparisonMetadataValues()
        {
            Author = "GroupDocs",
            Company = "GroupDocs",
            LastSaveBy = "GroupDocs"
        },
        Password = "",
        PasswordSaveOption = ""
    },
    // Source file
    SourceFile = new ComparisonFileInfo()
    {
        Folder = "comparisons",
        Name = "source.docx",
        Password = ""
    }
};

List<ComparisonFileInfo> targets = new List<ComparisonFileInfo>();
// Target file
targets.Add(new ComparisonFileInfo()
{
    Folder = "comparisons",
    Name = "target.docx",
    Password = ""
});
// Target file - single or multiple target files are allowed.
comparisonRequest.TargetFiles = targets.ToArray();

// Accept or Reject changes
comparisonRequest.Changes = new List<ComparisonChange>();
comparisonRequest.Changes.Add(new ComparisonChange() { Id = 0, Action = "Accept" });
comparisonRequest.Changes.Add(new ComparisonChange() { Id = 1, Action = "Reject" });

// API call for response.
var response = apiInstance.PostChanges(new Model.Requests.PostChangesRequest() { Request = comparisonRequest });

Console.WriteLine(string.Format("{0}: {1}", "response is List<ComparisonChange>", response.Count.ToString()));

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

Document Comparison .NET Cloud REST API

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 change category, such as, numeric only.
  • Accept or reject the changes that come up after document comparison.
  • Get the image stream of resultant document via JsonRequest object.
  • Save the resultant document to streams as set of images.
  • Get the resultant document path.
  • Add summary page to resultant document after comparison.
  • Show deleted components in the resultant document.
  • Detect style changes.
  • Get or set password to the the resultant document.

New Features in Version 19.5.0

  • This is the first release of a completely new version of the API GroupDocs.Comparison.Cloud v2.0.
  • V2 provides much simpler and intuitive API as compared to V1.
  • V2 includes Storage and File API which enables you to manage storage and files.
  • Internal cloud solution is based on the modern micro-service architecture.

For the detailed notes, please visit GroupDocs.Comparison Cloud 19.5 Release Notes.

Supported Document Formats

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
Portable: PDF, TEX, XPS
Metafile: EMF, WMF
Other: PCL, PS

Platform Independence

GroupDocs.Comparison Cloud's platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.

Getting 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 other common usage scenarios.

Use C# Code to Compare two DOCX Files and Fetch Changes

var configuration = new Configuration
{
    AppSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    AppKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
};

// Initiate API object
var apiInstance = new ChangesApi(configuration);

// Comparison Request
ComparisonRequest comparisonRequest = new ComparisonRequest()
{
    // Comparison Request Settings
    Settings = new ComparisonRequestSettings()
    {
        GenerateSummaryPage = true,
        ShowDeletedContent = true,
        StyleChangeDetection = true,
        UseFramesForDelInsElements = false,
        DetailLevel = "Low",
        DeletedItemsStyle = new StyleSettingsValues()
        {
            BeginSeparatorString = "",
            EndSeparatorString = "",
            Color = new Color().Red
        },
        InsertedItemsStyle = new StyleSettingsValues()
        {
            BeginSeparatorString = "",
            EndSeparatorString = "",
            Color = new Color().Blue
        },
        StyleChangedItemsStyle = new StyleSettingsValues()
        {
            BeginSeparatorString = "",
            EndSeparatorString = "",
            Color = new Color().Green
        },
        CalculateComponentCoordinates = false,
        CloneMetadata = "Source",
        MarkDeletedInsertedContentDeep = false,
        MetaData = new ComparisonMetadataValues()
        {
            Author = "GroupDocs",
            Company = "GroupDocs",
            LastSaveBy = "GroupDocs"
        },
        Password = "",
        PasswordSaveOption = ""
    },
    // Source file
    SourceFile = new ComparisonFileInfo()
    {
        Folder = "comparisons",
        Name = "source.docx",
        Password = ""
    }
};

List<ComparisonFileInfo> targets = new List<ComparisonFileInfo>();
// Target file
targets.Add(new ComparisonFileInfo()
{
    Folder = "comparisons",
    Name = "target.docx",
    Password = ""
});
// Target file - single or multiple target files are allowed.
comparisonRequest.TargetFiles = targets.ToArray();

// Accept or Reject changes
comparisonRequest.Changes = new List<ComparisonChange>();
comparisonRequest.Changes.Add(new ComparisonChange() { Id = 0, Action = "Accept" });
comparisonRequest.Changes.Add(new ComparisonChange() { Id = 1, Action = "Reject" });

// API call for response.
var response = apiInstance.PostChanges(new Model.Requests.PostChangesRequest() { Request = comparisonRequest });

Console.WriteLine(string.Format("{0}: {1}", "response is List<ComparisonChange>", response.Count.ToString()));

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

Release Notes

https://docs.groupdocs.cloud/display/comparisoncloud/GroupDocs.Comparison+Cloud+19.5+Release+Notes

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.12.0 39 12/2/2020
20.5.0 156 5/21/2020
19.5.0 234 5/21/2019
18.9.0 254 12/20/2018
18.9.0-alpha-20181220070637 220 12/20/2018
18.4.0 375 5/11/2018
18.4.0-alpha-20180511075007 339 5/11/2018
17.12.0 471 1/24/2018