GroupDocs.Comparison-Cloud 19.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GroupDocs.Comparison-Cloud --version 19.5.0
NuGet\Install-Package GroupDocs.Comparison-Cloud -Version 19.5.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: GroupDocs.Comparison-Cloud, 19.5.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Comparison-Cloud as a Cake Addin
#addin nuget:?package=GroupDocs.Comparison-Cloud&version=19.5.0

// Install GroupDocs.Comparison-Cloud as a Cake Tool
#tool nuget:?package=GroupDocs.Comparison-Cloud&version=19.5.0

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.2.0 95 2/26/2024
23.12.0 199 12/13/2023
23.4.0 196 5/2/2023
22.4.0 953 4/14/2022
21.7.0 375 7/16/2021
21.3.0 391 3/11/2021
20.12.0 396 12/2/2020
20.5.0 500 5/21/2020
19.5.0 774 5/21/2019
18.9.0 706 12/20/2018
18.9.0-alpha-20181220070637 522 12/20/2018
18.4.0 934 5/11/2018
18.4.0-alpha-20180511075007 760 5/11/2018
17.12.0 1,014 1/24/2018