GroupDocs.Editor-Cloud
22.5.1
dotnet add package GroupDocs.Editor-Cloud --version 22.5.1
NuGet\Install-Package GroupDocs.Editor-Cloud -Version 22.5.1
<PackageReference Include="GroupDocs.Editor-Cloud" Version="22.5.1" />
paket add GroupDocs.Editor-Cloud --version 22.5.1
#r "nuget: GroupDocs.Editor-Cloud, 22.5.1"
// Install GroupDocs.Editor-Cloud as a Cake Addin
#addin nuget:?package=GroupDocs.Editor-Cloud&version=22.5.1
// Install GroupDocs.Editor-Cloud as a Cake Tool
#tool nuget:?package=GroupDocs.Editor-Cloud&version=22.5.1
.NET Cloud REST API for Document Editing
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
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 2.0
- Newtonsoft.Json (>= 12.0.3)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.3)
- System.Diagnostics.TraceSource (>= 4.3.0)
- System.Net.Requests (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.