GroupDocs.Editor-Cloud 21.7.0

Install-Package GroupDocs.Editor-Cloud -Version 21.7.0
dotnet add package GroupDocs.Editor-Cloud --version 21.7.0
<PackageReference Include="GroupDocs.Editor-Cloud" Version="21.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Editor-Cloud --version 21.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GroupDocs.Editor-Cloud, 21.7.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Editor-Cloud as a Cake Addin
#addin nuget:?package=GroupDocs.Editor-Cloud&version=21.7.0

// Install GroupDocs.Editor-Cloud as a Cake Tool
#tool nuget:?package=GroupDocs.Editor-Cloud&version=21.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET Cloud REST API for Document Editing

Version 21.7 Nuget GitHub

Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial

Use this REST API to enhance your C#, ASP.NET & other .NET apps to edit documents, spreadsheets, presentations of 40+ file formats from within your cloud apps.

Cloud Document Editor Features

  • Edit word processing documents in flow or paged mode.
  • Extract font information for a consistent look and feel of the edited documents.
  • Support for the editing of multi-tabbed spreadsheets.
  • Ability to specify the index of the currently edited worksheet.
  • Works with DSV (Delimiter Separated Values) files.
  • Specify the separator for the CSV and TSV files.
  • Flexible conversion options for dates and numbers in TSV, CSV files.
  • Optimize memory usage of large CSV, TSV files.
  • Fix incorrect document structure of the XML files.
  • Recognize email addresses and URIs in the XML files.
  • Support for highlighting and formatting options for XML files.
  • Ability to extract basic information about the document.
  • Support to work with files and folders in the cloud.

Supported File Formats

Word Processing: DOC, DOCX, DOCM, DOT, DOTM, DOTX, FlatOPC, ODT, OTT, RTF, WordML
Spreadsheet: XLS, XLT, XLSX, XLSM, XLTX, XLTM, XLSB, XLAM, SXC, SpreadsheetML, ODS, FODS, DIF, DSV, CSV, TSV
Presentation: PPT (95), PPT (97-2003), PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, OTP
Markup: HTML, XML
Text: TXT

Get Started

You do not need to install anything to get started with GroupDocs.Editor Cloud SDK for .Net. Just create an account at GroupDocs for Cloud and get your application information.

Simply execute Install-Package GroupDocs.Editor-Cloud from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Editor assembly in your project. If you already have GroupDocs.Editor Cloud SDK for .Net and want to upgrade it, please execute Update-Package GroupDocs.Editor-Cloud to get the latest version.

Please check the GitHub Repository for common usage scenarios.

Edit TXT File using REST API

// For complete examples and data files, please go to https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-dotnet-samples
// Get AppKey and AppSID from https://dashboard.groupdocs.cloud
string MyAppKey = "";
string MyAppSid = "";

var configuration = new Configuration(MyAppSid, MyAppKey);

// Create necessary API instances
var editApi = new EditApi(configuration);
var fileApi = new FileApi(configuration);

// The document already uploaded into the storage.
// Load it into editable state
var loadOptions = new TextLoadOptions {
    FileInfo = new FileInfo {
            FilePath = "Text/document.txt"
        },
        OutputPath = "output"
};
var loadResult = editApi.Load(new LoadRequest(loadOptions));

// Download html document
var stream = fileApi.DownloadFile(new DownloadFileRequest(loadResult.HtmlPath));
var htmlString = new StreamReader(stream, Encoding.UTF8).ReadToEnd();

// Edit something...
htmlString = htmlString.Replace("Page Text", "New Text");

// Upload html back to storage
fileApi.UploadFile(new UploadFileRequest(loadResult.HtmlPath,
    new MemoryStream(Encoding.UTF8.GetBytes(htmlString))));

// Save html back to txt
var saveOptions = new TextSaveOptions {
    FileInfo = loadOptions.FileInfo,
        OutputPath = "output/edited.txt",
        HtmlPath = loadResult.HtmlPath,
        ResourcesPath = loadResult.ResourcesPath
};
var saveResult = editApi.Save(new SaveRequest(saveOptions));

Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial

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
21.7.0 106 7/5/2021
20.12.0 117 1/12/2021
19.11.0 431 11/26/2019