You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PicoXLSX is a small .NET / C# library to create XLSX files (Microsoft Excel 2007 or newer) in an easy and native way
5
+
PicoXLSX is a small .NET library written in C#, to create Microsoft Excel files in the XLSX format (Microsoft Excel 2007 or newer) in an easy and native way
6
6
***No dependencies** (\*
7
7
* No need for an installation of Microsoft Office
8
8
* No need for Office interop libraries
@@ -44,7 +44,17 @@ Simply place the PicoXLSX DLL into your .NET project and add a reference (in VS
44
44
Place all .CS files from the PicoXLSX source folder into your project. You can place them into a sub-folder if you wish. The files contains definitions for workbooks, worksheets, cells, styles, meta-data, low level methods and exceptions.
45
45
46
46
# Usage
47
-
## Quick Start
47
+
## Quick Start (shortened syntax)
48
+
```
49
+
Workbook workbook = new Workbook("myWorkbook.xlsx", "Sheet1"); // Create new workbook with a worksheet called Sheet1
50
+
workbook.WS.Value("Some Data"); // Add cell A1
51
+
workbook.WS.Formula("=A1"); // Add formula to cell B1
52
+
workbook.WS.Down(); // Go to row 2
53
+
workbook.WS.Value(DateTime.Now, Style.BasicStyles.Bold); // Add formated value to cell A2
54
+
workbook.Save(); // Save the workbook as myWorkbook.xlsx
55
+
```
56
+
57
+
## Quick Start (regular syntax)
48
58
```
49
59
Workbook workbook = new Workbook("myWorkbook.xlsx", "Sheet1"); // Create new workbook with a worksheet called Sheet1
@@ -58,6 +68,6 @@ Place all .CS files from the PicoXLSX source folder into your project. You can p
58
68
See the full **API-Documentation** at: [https://rabanti-github.github.io/PicoXLSX/](https://rabanti-github.github.io/PicoXLSX/).
59
69
60
70
61
-
The [Demo project](https://github.com/rabanti-github/PicoXLSX/tree/master/Demo) contains ten simple use cases. You can find also the full documentation in the [Documentation-Folder](https://github.com/rabanti-github/PicoXLSX/tree/master/Documentation) or as C# documentation in the .CS files.
71
+
The [Demo project](https://github.com/rabanti-github/PicoXLSX/tree/master/Demo) contains eleven simple use cases. You can find also the full documentation in the [Documentation-Folder](https://github.com/rabanti-github/PicoXLSX/tree/master/Documentation) or as C# documentation in the .CS files.
62
72
63
73
See also: [Getting started in the Wiki](https://github.com/rabanti-github/PicoXLSX/wiki/Getting-started)
0 commit comments