Manipulate Excel Files via .NET APIs
Read and Write spreadsheet files on .NET, .NET Core & Xamarin platforms. Export spreadsheets to other formats without Microsoft Excel.
Download Free TrialAspose.Cells for .NET is an Excel Spreadsheet Programming API to speed up the spreadsheet management and processing tasks. API supports to build cross-platform applications having the ability to generate, modify, convert, render and print spreadsheets. Moreover, It does not rely on Microsoft Excel or any Microsoft Office Interop components to be installed but a robust set of APIs that deal with all Excel formats as well as CSV and SpreadsheetML formats.
By integrating API, some of the basic tasks developers can perform like managing multiple worksheets, creating spreadsheet contents and styles from scratch, importing data onto the worksheets from different data sources, adding common and complex Mathematical, Financial and Text formulas, manipulation of charts, pictures, comments, drawing objects and much more.
Advanced Excel Spreadsheet API Features
Send output to a client browser
Import/export data to & from DataTable, DataView or Array
Add & manipulate charts & PivotTable through the product API
Import formulas from a designer spreadsheet
Truncate long sheet name & replace invalid characters at run-time
Apply text alignment to partial text inside the TextBox
Paste rows & columns with advanced paste options
Support for CSV (comma-separated values) & TSV (tab-separated values)
Create & manipulate comments
Set auto-filters & page breaks
Specify conditional formatting rules
Create & manipulate named ranges
Create & render sparklines
Export worksheets to SVG format
Read & write large spreadsheets in light-weight mode
Re-sample images in Excel-to-PDF conversion
Modify VBA code or Macros in the template file
Populate spreadsheets via Smart Markers
Convert Spreadsheets to PDF, XPS & HTML Formats
Aspose.Cells for .NET is capable of converting spreadsheets to PDF, XPS & HTML formats while maintaining the highest visual fidelity. The conversion process is simple yet reliable, thus making API a perfect choice for the organizations which require to exchange documents in any of the industry-standard formats.
Save spreadsheet in different formats - C#
// load file to be converted
var workbook = new Aspose.Cells.Workbook(dir + "template.xlsx");
// save in different formats
workbook.Save(dir + "output.pdf", Aspose.Cells.SaveFormat.Pdf);
workbook.Save(dir + "output.xps", Aspose.Cells.SaveFormat.XPS);
workbook.Save(dir + "output.html", Aspose.Cells.SaveFormat.Html);
Visualize Data with Formatting, Charts & Graphics
Aspose.Cells for .NET gives you complete freedom and flexibility to furnish your spreadsheets with all kinds of visual effects. The API allows you to apply different fonts with attributes, cell styles (alignment, indentation, rotation, borders, shading and coloring, protection, text wrapping and shrinking) and all types of number formats.
Similarly, charts and graphics are visually appealing and can give your spreadsheet a professional look. Aspose.Cells for .NET provides a comprehensive set of APIs for creating and manipulating all of the standard and custom chart types. Moreover, you may add different types of drawing objects, such as comments, pictures, OLE objects, shapes and controls to the cells
Efficient, Robust & Reliable Formula Calculation Engine
Aspose.Cells for .NET has a powerful Formula Calculation Engine that supports almost all of the standard and advanced Microsoft Excel formulas and functions. You can read, set and calculate the results of the built-in, add-in, array & R1C1 reference style formulas.
Summarize Data with Pivot Tables, Charts & Smart Markers
A Pivot Table can help you quickly summarize the flat data and to get the desired information according to your needs. .NET Excel library allows you to dynamically create Pivot Tables and Pivot Charts. You can dynamically change the source data of a Pivot Table and refresh it. Moreover, library offers Smart Markers which is a great feature to populate worksheets based on some data sources and to create visually effective reports.
Render Excel Worksheets & Charts as Images
Aspose.Cells for .NET has its own rendering engine specially designed for rendering & printing with highest of fidelity to the Microsoft Excel. It offers distinctive features such as rendering Excel worksheets & charts to images & printing worksheets to any connected physical printer. The process is flexible thus allowing you to choose a number of options, such as controlling the resultant image dimensions when rendering worksheets & charts to images.
Convert worksheet to image - C#
// load spreadsheet file
var workbook = new Aspose.Cells.Workbook(dir + "template.xls");
// access the first worksheet from the collection
var worksheet = workbook.Worksheets[0];
// define parameters for resultant image
var options = new Aspose.Cells.Rendering.ImageOrPrintOptions()
{
OnePagePerSheet = true,
ImageType = Aspose.Cells.Drawing.ImageType.Jpeg
};
// convert worksheet to image in JPEG format
var renderer = new Aspose.Cells.Rendering.SheetRender(worksheet, options);
renderer.ToImage(0, dir + "output.jpeg");
Chart Creation & Manipulation
Aspose.Cells for .NET comes with complete support for charting. You can easily add standard or customized charts using the product API and dynamically set the data in order to refresh the charts. API also allows you to convert charts to a number of image formats.
Graphical Interfaces for Web & Desktop Applications
Aspose.Cells for .NET provides GUI controls for web & desktop applications. End-user can use these controls to open, save & edit Excel files, import & export data, manage formatting & formulas and convert between several supported spreadsheet formats, right from your application's front-end.
Microsoft Office Automation – Not Needed
Aspose.Cells for .NET is built using managed code that never needs Microsoft Office or Microsoft Excel to be installed on the machine to work with Excel document formats. It is a perfect Microsoft Office automation alternative in terms of supported features, security, stability, scalability, speed and price.
What People Are Saying
Don't just take our word for it. See what users have to say about it.
Support and Learning Resources
- Learning Resources
- Documentation
- Source Code
- API References
- Tutorial Videos
- Product Support
- Free Support
- Paid Support
- Blog
- Release Notes
- Why Aspose.Cells for .NET?
- Customers List
- Success Stories