This project is a fork of the SpreadsheetLight library.
The purpose of this fork is to create a version of the library that runs on .NET Core and is also capable of running in cross-platform environments.
The library uses System.Drawing.Common, which required some platform checks to ensure those code sections only run on Windows machines. This does mean that certain features will not work on other platforms, these features will typically silently fail. Identified so far:
.InsertPicture()method Issue Reference
As of version 10.0.0, SpreadsheetLight Cross Platform has adopted a new versioning scheme that aligns its major version with the .NET major version it targets. This change is intended to provide better clarity and consistency with regard to supported frameworks.
Going forward, the major version of SpreadsheetLight Cross Platform will correspond to the major version of .NET it targets (e.g., SpreadsheetLight Cross Platform 10.x.x targets .NET 10). The minor and patch versions are used for library-specific updates and do not map to .NET's minor or SDK versions.
These instuctions can be used to acquire and implement the library.
To use this library either clone a copy of the repository or check out the NuGet package
Here are some examples, there are more in the examples directory. You can run all of them by executing the Test-Examples.ps1 PowerShell script found in that directory.
- The Hello World
- How to modify an existing spreadsheet
- How to format numbers and dates
- How to set font settings
- How to copy cells
- How to merge and unmerge cells
- How to autofit row heights and column widths
- How to insert hyperlinks
- How to insert tables
- How to import data from a DataTable
- Vincent Tan
- NF Software Inc.
This project is licensed under the MIT License - see the LICENSE file for details
Thank you to:
- Freepik for the project icon