Aspose.Cells
20.9.0
See the version list below for details.
dotnet add package Aspose.Cells --version 20.9.0
NuGet\Install-Package Aspose.Cells -Version 20.9.0
<PackageReference Include="Aspose.Cells" Version="20.9.0" />
paket add Aspose.Cells --version 20.9.0
#r "nuget: Aspose.Cells, 20.9.0"
// Install Aspose.Cells as a Cake Addin #addin nuget:?package=Aspose.Cells&version=20.9.0 // Install Aspose.Cells as a Cake Tool #tool nuget:?package=Aspose.Cells&version=20.9.0
.NET API for Excel File Formats
Aspose.Cells for .NET is an Excel Spreadsheet Programming API to speed up spreadsheet management and processing tasks. Excel .NET API supports to build cross-platform applications having the ability to generate, modify, convert, render and print spreadsheets. It allows developers to manage worksheets, rows, columns & cells, create spreadsheet contents and styles from scratch, import data onto the worksheets from different data sources, add common and complex mathematical, financial and text formulas, create & manipulate pivot tables, charts, hyperlinks, comments, drawing objects and much more.
Aspose.Cells for .NET provides Grid solution with two GUI based .NET controls. Aspose.Cells.GridDesktop supports desktop applications and Aspose.Cells.GridWeb is specifically designed for .NET based web applications. Both Gird controls allow to import/export Excel files, manipulate data & formatting, customize grid design and layout, manage multiple worksheets, create and calculate Excel formulas and numerous other Excel-like operations.
Excel File Processing Features
- Spreadsheet generation & manipulation via API.
- High quality file format conversion & rendering.
- Print Microsoft Excel files to physical or virtual printers.
- Combine, modify, protect or parse Excel sheets.
- Apply worksheet formatting.
- Configure and apply page setup for the worksheets.
- Create & customize Excel charts, Pivot Tables, conditional formatting rules, slicers, tables & spark-lines.
- Convert Excel charts to images & PDF.
- Convert Excel files to various other formats.
- Formula calculation engine that supports all basic and advanced Excel functions.
New Features & Enhancements in Version 20.9
- Support for
Get
/Set
theSlicer
shape properties. - Client API for add/remove comments for
GridWeb
.
For the detailed notes, please visit Aspose.Cells for .NET 20.9 Release Notes.
Read & Write Spreadsheet Formats
Microsoft Excel: XLS, XLSX, XLSB, XLT, XLTX, XLTM, XLSM, XML OpenOffice: ODS Text: CSV, TSV Web: HTML, MHTML Numbers: Apple's iWork office suite Numbers app documents
Save Excel Files As
Fixed Layout: PDF, PDF/A, XPS Data Interchange: DIF Images: JPEG, PNG, BMP, SVG, TIFF, EMF, GIF
Platform Independence
Aspose.Cells for .NET can be used to build ASP.NET, Web Services, WinForms or other .NET applications for framework 2.0 or later on 32-bit and 64-bit operating systems. It also provides dedicated assemblies for Xamarin.Android (for native Android apps), Xamarin.iOS (for native iOS apps), COM (for pre-.NET technologies), Mono, and Windows Azure.
Getting Started with Aspose.Cells for .NET
Are you ready to give Aspose.Cells for .NET a try? Simply execute Install-Package Aspose.Cells
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Cells for .NET and want to upgrade the version, please execute Update-Package Aspose.Cells
to get the latest version.
Create XLSX Excel File from Scratch via C#
You can execute below code snippet to see how Aspose.Cells API performs in your environment or check the GitHub Repository for other common usage scenarios.
// initiate an instance of Workbook
var book = new Aspose.Cells.Workbook();
// access first (default) worksheet
var sheet = book.Worksheets[0];
// access CellsCollection of first worksheet
var cells = sheet.Cells;
// write HelloWorld to cells A1
cells["A1"].Value = "Hello World";
// save spreadsheet to disc
book.Save("output.xlsx", SaveFormat.Xlsx);
Convert Excel Files to PDF, XPS & HTML
Aspose.Cells for .NET is capable of converting spreadsheets to numerous other popular formats including PDF, XPS & HTML formats while maintaining the highest visual fidelity. The conversion process is simple, configurable and reliable.
// 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);
Encrypt Excel File with C# Code
var workbook = new Aspose.Cells.Workbook(dir+ "template.xls");
// specify XOR encryption type
workbook.SetEncryptionOptions(EncryptionType.XOR, 40);
// specify strong encryption type (RC4,Microsoft Strong Cryptographic Provider)
workbook.SetEncryptionOptions(EncryptionType.StrongCryptographicProvider, 128);
// protect the file
workbook.Settings.Password = "1234";
// save the file
workbook.Save(dir+ "output.xls");
Use C# to Create an Excel Line Chart
var workbook = new Aspose.Cells.Workbook();
// add a new worksheet to the Excel object
int sheetIndex = workbook.Worksheets.Add();
// obtain the reference of the newly added worksheet by passing its sheet index
Worksheet worksheet = workbook.Worksheets[sheetIndex];
// add sample values to cells
worksheet.Cells["A1"].PutValue(50);
worksheet.Cells["A2"].PutValue(100);
worksheet.Cells["A3"].PutValue(150);
worksheet.Cells["B1"].PutValue(4);
worksheet.Cells["B2"].PutValue(20);
worksheet.Cells["B3"].PutValue(50);
// add a chart to the worksheet
int chartIndex = worksheet.Charts.Add(Aspose.Cells.Charts.ChartType.Line, 5, 0, 15, 5);
// access the instance of the newly added chart
var chart = worksheet.Charts[chartIndex];
// add chart data source from "A1" to "B3"
chart.NSeries.Add("A1:B3", true);
// save the Excel file
workbook.Save( dir + "output.xls");
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Product | Versions 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 is compatible. net40 is compatible. net40-client is compatible. 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. monoandroid44 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.0
- System.Drawing.Common (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
MonoAndroid 4.4
- No dependencies.
-
Xamarin.iOS 1.0
- No dependencies.
NuGet packages (88)
Showing the top 5 NuGet packages that depend on Aspose.Cells:
Package | Downloads |
---|---|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
|
fion.modelerp.core
ModelErp |
|
Aspose.Cells.GridJs
Aspose.Cells.GridJs is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs based on JSON format. |
|
Pj.Library.ThirdParty
Utilities to fasten the development -Library Extensions to the default .net system objects Helpers for serialization, transform, compression, network and file transfer, database operations, logging -Secure Provides encryption and decryption -Service Cloud service support with google drive access and onedrive storage access -ThirdParty Excel read and write, csv file operations |
|
BLT.Common
Package Description |
GitHub repositories (7)
Showing the top 5 popular GitHub repositories that depend on Aspose.Cells:
Repository | Stars |
---|---|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
aspose-cells/Aspose.Cells-for-.NET
Aspose.Cells for .NET examples, plugins and showcases
|
|
xlljc/DungeonShooting
《枪火地牢》,一款由Godot开发的地牢射击Rogue游戏
|
|
loamen/Kalman.Studio
Kalman.Studio代码生成器是一款基于T4模板引擎的代码生成器和开发辅助工具。可以根据数据库元数据架构信息来生成代码,还可以解析PowerDesigner物理模型文件,根据PDM模型对象来生成代码等。
|
|
known/Known
Known是基于Blazor的企业级快速开发框架,低代码,跨平台,开箱即用,一处代码,多处运行。
|
Version | Downloads | Last updated |
---|---|---|
24.10.0 | 45,940 | 10/10/2024 |
24.9.0 | 74,517 | 9/10/2024 |
24.8.0 | 132,684 | 8/8/2024 |
24.7.0 | 91,662 | 7/11/2024 |
24.6.0 | 107,245 | 6/14/2024 |
24.5.0 | 135,758 | 5/9/2024 |
24.4.0 | 174,836 | 4/9/2024 |
24.3.0 | 231,239 | 3/8/2024 |
24.2.0 | 175,350 | 2/5/2024 |
24.1.0 | 213,888 | 1/10/2024 |
23.12.0 | 164,891 | 12/12/2023 |
23.11.0 | 267,139 | 11/9/2023 |
23.10.0 | 310,739 | 10/12/2023 |
23.9.0 | 196,921 | 9/13/2023 |
23.8.0 | 323,779 | 8/9/2023 |
23.7.0 | 211,696 | 7/13/2023 |
23.6.0 | 230,000 | 6/8/2023 |
23.5.0 | 250,931 | 5/9/2023 |
23.4.0 | 340,470 | 4/11/2023 |
23.3.0 | 651,129 | 3/8/2023 |
23.2.0 | 264,160 | 2/8/2023 |
23.1.1 | 268,818 | 1/17/2023 |
23.1.0 | 89,312 | 1/10/2023 |
22.12.0 | 363,709 | 12/9/2022 |
22.11.0 | 397,684 | 11/10/2022 |
22.10.1 | 384,604 | 10/20/2022 |
22.10.0 | 85,011 | 10/11/2022 |
22.9.0 | 497,463 | 9/8/2022 |
22.8.0 | 232,589 | 8/4/2022 |
22.7.0 | 257,721 | 7/7/2022 |
22.6.1 | 502,338 | 6/13/2022 |
22.5.0 | 276,259 | 5/10/2022 |
22.4.0 | 301,813 | 4/12/2022 |
22.3.0 | 417,464 | 3/10/2022 |
22.2.0 | 289,145 | 2/11/2022 |
22.1.0 | 382,004 | 1/7/2022 |
21.12.0 | 230,184 | 12/8/2021 |
21.11.0 | 380,192 | 11/8/2021 |
21.10.0 | 222,876 | 10/14/2021 |
21.9.0 | 308,869 | 9/15/2021 |
21.8.0 | 234,804 | 8/12/2021 |
21.7.0 | 313,767 | 7/13/2021 |
21.6.0 | 380,489 | 6/16/2021 |
21.5.0 | 348,179 | 5/14/2021 |
21.4.0 | 234,475 | 4/14/2021 |
21.3.0 | 214,925 | 3/11/2021 |
21.2.0 | 421,613 | 2/5/2021 |
21.1.0 | 542,944 | 1/15/2021 |
20.12.0 | 266,732 | 12/17/2020 |
20.11.0 | 353,221 | 11/12/2020 |
20.10.0 | 242,389 | 10/16/2020 |
20.9.0 | 212,432 | 9/10/2020 |
20.8.0 | 281,714 | 8/13/2020 |
20.7.0 | 366,459 | 7/15/2020 |
20.6.0 | 397,167 | 6/12/2020 |
20.5.0 | 190,808 | 5/21/2020 |
20.4.0 | 343,325 | 4/16/2020 |
20.3.0 | 350,454 | 3/19/2020 |
20.2.0 | 169,784 | 2/20/2020 |
20.1.0 | 221,106 | 1/16/2020 |
19.12.0 | 234,927 | 12/17/2019 |
19.11.0 | 261,316 | 11/15/2019 |
19.10.0 | 196,604 | 10/18/2019 |
19.9.0 | 236,875 | 9/18/2019 |
19.8.0 | 222,978 | 8/20/2019 |
19.7.0 | 298,536 | 7/18/2019 |
19.6.0 | 126,899 | 6/20/2019 |
19.5.0 | 131,124 | 5/16/2019 |
19.4.0 | 361,042 | 4/17/2019 |
19.3.0 | 149,072 | 3/15/2019 |
19.2.0 | 173,170 | 2/18/2019 |
19.1.0 | 173,217 | 1/17/2019 |
18.12.0 | 420,410 | 12/19/2018 |
18.11.0 | 137,140 | 11/19/2018 |
18.10.0 | 159,969 | 10/18/2018 |
18.9.0 | 58,728 | 9/17/2018 |
18.8.0 | 130,393 | 8/15/2018 |
18.7.0 | 139,308 | 7/12/2018 |
18.6.0 | 205,390 | 6/19/2018 |
18.5.1 | 53,409 | 5/23/2018 |
18.5.0 | 84,808 | 5/17/2018 |
18.4.0 | 127,995 | 4/19/2018 |
18.3.0 | 151,291 | 3/16/2018 |
18.2.0 | 49,798 | 2/7/2018 |
18.1.0 | 155,219 | 1/18/2018 |
17.12.0 | 95,665 | 12/15/2017 |
17.11.1 | 36,032 | 11/20/2017 |
17.10.0 | 73,981 | 10/18/2017 |
17.9.0 | 46,666 | 9/19/2017 |
17.8.0 | 108,341 | 8/15/2017 |
17.7.0 | 105,444 | 7/18/2017 |
17.6.0 | 39,504 | 6/15/2017 |
17.5.0 | 37,903 | 5/16/2017 |
17.4.0 | 69,691 | 4/20/2017 |
17.3.0 | 52,870 | 3/16/2017 |
17.2.0 | 59,047 | 2/16/2017 |
17.1.0 | 51,384 | 1/12/2017 |
16.12.0 | 71,629 | 12/13/2016 |
16.11.0 | 66,811 | 11/11/2016 |
16.10.0 | 85,336 | 10/12/2016 |
9.0.0 | 93,064 | 9/13/2016 |
8.9.2 | 105,926 | 8/19/2016 |
8.9.1 | 6,148 | 8/12/2016 |
8.9.0 | 70,097 | 7/18/2016 |
8.8.3 | 45,117 | 6/28/2016 |
8.8.2 | 38,466 | 6/3/2016 |
8.8.1 | 8,772 | 5/23/2016 |
8.8.0 | 133,821 | 4/21/2016 |
8.7.2 | 56,050 | 3/25/2016 |
8.7.1 | 97,010 | 2/24/2016 |
8.7.0 | 28,017 | 1/26/2016 |
8.6.3 | 45,905 | 12/23/2015 |
8.6.2 | 51,684 | 11/20/2015 |
8.6.1 | 42,791 | 10/23/2015 |
8.6.0 | 41,756 | 9/21/2015 |
8.5.2 | 47,964 | 8/17/2015 |
8.5.1 | 55,592 | 7/16/2015 |
8.5.0 | 31,940 | 6/19/2015 |
8.4.2 | 58,001 | 5/19/2015 |
8.4.1 | 21,057 | 4/15/2015 |
8.4.0 | 48,564 | 3/12/2015 |
8.3.2.1 | 94,960 | 2/4/2015 |
8.3.2 | 18,017 | 1/23/2015 |
8.3.1 | 25,424 | 12/10/2014 |
8.3.0 | 14,529 | 11/14/2014 |
8.2.2 | 92,623 | 10/16/2014 |
8.2.1 | 70,845 | 9/17/2014 |
8.2.0 | 20,363 | 8/15/2014 |
8.1.2 | 12,404 | 7/23/2014 |
8.1.1 | 31,388 | 6/27/2014 |
8.1.0 | 24,538 | 6/6/2014 |
8.0.2 | 18,419 | 5/14/2014 |
8.0.1 | 13,985 | 4/21/2014 |
8.0.0 | 18,533 | 3/26/2014 |
7.7.2 | 293,499 | 2/17/2014 |
7.7.1 | 27,888 | 1/15/2014 |
7.7.0 | 24,625 | 12/16/2013 |
7.6.1 | 56,240 | 11/18/2013 |
7.6.0 | 46,145 | 10/17/2013 |
7.5.3 | 15,484 | 9/10/2013 |
7.5.2 | 16,395 | 8/14/2013 |
7.5.1 | 11,455 | 7/18/2013 |
7.5.0 | 33,691 | 6/10/2013 |
7.4.3 | 37,400 | 4/29/2013 |
7.4.2 | 14,007 | 4/1/2013 |
7.4.1 | 10,979 | 3/4/2013 |
7.4.0 | 21,205 | 1/28/2013 |
7.3.5 | 10,514 | 12/31/2012 |
7.3.4 | 19,193 | 11/30/2012 |
7.3.3 | 18,745 | 10/30/2012 |
7.3.2 | 65,073 | 9/28/2012 |
7.3.1 | 13,678 | 8/27/2012 |
7.3.0 | 13,368 | 7/17/2012 |
7.2.2 | 15,948 | 6/18/2012 |
7.2.1 | 11,313 | 5/21/2012 |
7.2.0 | 29,990 | 4/16/2012 |
7.1.2 | 7,844 | 3/19/2012 |
7.1.1.1 | 8,022 | 2/16/2012 |
7.1.1 | 6,628 | 2/14/2012 |
7.1.0 | 28,393 | 1/24/2012 |