Skip to content

hytonevi/aspose-cells-cloud-dotnet

 
 

Repository files navigation

.NET REST API for Spreadsheet Processing in Cloud

This Cloud SDK enhances your C#, ASP.NET, & other .NET cloud-based apps to process & manipulate Microsoft Excel spreadsheets in the cloud, without MS Office.

Spreadsheet Processing Features

  • Add, update or delete charts, worksheet pictures, shapes, hyperlinks & validations.
  • Add or remove cells area for conditional formatting, or OleObjects from Excel worksheets.
  • Insert or delete, horizontal or vertical page breaks
  • Add ListObject at a specific place within an Excel file & convert them to a range of cells.
  • Delete specific or all ListObjects in a worksheet or summarize its data with pivot table.
  • Apply custom criteria to list filters of various types.
  • Get, update, show or hide chart legend & titles.
  • Manipulate page setup, header & footer.
  • Create, update, fetch or delete document properties.
  • Fetch the required shape from worksheet.
  • Load & Process Excel Spreadsheets via Cloud SDK.
  • Cloud SDK to Read & Process Excel Worksheets.
  • Leverage the Power of Pivot Tables & Ranges.

Feature & Enhancements in Version 20.8

  • Aspose.Cells Cloud API calls are not working with explicit storage name but only default storage.
  • Get output file size without downloading during conversion.
  • Enhancement for CellsShapesPutWorksheetShape API.

Read & Write Spreadsheet Formats

Microsoft Excel: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM OpenOffice: ODS SpreadsheetML: XML Text: CSV, TSV, TXT (TabDelimited) Web: HTML, MHTML PDF

Save Spreadsheet As

DIF, HTML, MHTML,PNG,JPG, TIFF, XPS, SVG, MD (Markdown), ODS ,xlsx,xls,xlsb, PDF,XML,TXT,CSV

Read Spreadsheet Formats

SXC, FODS

Storage API Support

Since version 19.9, SDK includes support of storage operations for better user experience and unification, so now there's no need to use 2 different SDKs!

It gives you an ability to:

  • Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default).
  • Create, copy, move and delete folders.
  • Copy and move files and folders across separate storages in scope of a single operation.
  • Check if certain file, folder or storage exists.

Getting Started with Aspose.Cells Cloud SDK for .NET

You do not need to install anything to get started with Aspose.Cells Cloud SDK for .NET. Just create an account at Aspose for Cloud and get your application information.

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

Please check the GitHub Repository for other common usage scenarios.

Using C# to Add a New Worksheet to an Excel File

The following code snippet demonstrates how to add a new worksheet to a Microsoft Excel document using C# code:

CellsApi cellsApi =CellsApi(clientId, clientSecret);;
string name = "Input.xlsx";
string sheetName = "Sheet1";
int? position = 1;
string sheettype = "VB";
string folder = null;
UpdateDataFile(folder, name);
var response = cellsApi.CellsWorksheetsPutAddNewWorksheet(name, sheetName, position, sheettype, folder);

Using C# to Convert an Excel File to another File Format

The following code example elaborates how you can use C# code to convert an Excel document to another file format in the cloud:

// Upload source file to aspose cloud storage
cellsApi.UploadFile(folder + @"\" + filename, stream);

// Invoke Aspose.Cells Cloud SDK API to convert excel workbook to different format
SaveResponse apiResponse = cellsApi.CellsSaveAsPostDocumentSaveAs(name, saveOptions, newfilename, isAutoFitRows, isAutoFitColumns, folder);

Tests

Tests contain various examples of using the SDK.

Licensing

All Aspose.Cells Cloud SDKs are licensed under MIT License.

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

About

.NET library for communicating with the Aspose.Cells Cloud API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 83.1%
  • HTML 16.9%