SpireXLSstandard 12.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SpireXLSstandard --version 12.8.0
NuGet\Install-Package SpireXLSstandard -Version 12.8.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SpireXLSstandard" Version="12.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpireXLSstandard --version 12.8.0
#r "nuget: SpireXLSstandard, 12.8.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SpireXLSstandard as a Cake Addin
#addin nuget:?package=SpireXLSstandard&version=12.8.0

// Install SpireXLSstandard as a Cake Tool
#tool nuget:?package=SpireXLSstandard&version=12.8.0

.NET API for Processing Excel Documents

Foo

Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo

Spire.XLS for .NET is a professional Excel .NET API that can be used to create, read, write, convert and print Excel files in any type of .NET ( C#, VB.NET, ASP.NET, .NET Core, .NET 5.0, MonoAndroid and Xamarin.iOS) application without installing Microsoft Office.

The API supports both the old Excel 97-2003 format (.xls) and the new Excel 2007, Excel 2010, Excel 2013, Excel 2016 and Excel 2019 (.xlsx, .xlsb, .xlsm), along with Open Office(.ods) format. It features fast and reliably compared with developing your own spreadsheet manipulation solution or using Microsoft Automation.

Spire.XLS for .NET Standard Edition only can be used for .NET and doesn't support print and conversion function.

Standard Edition doesn't work on .NET Core.

100% Standalone .NET API

Spire.XLS for .NET is a 100% standalone Excel .NET library without requiring Microsoft Excel or Microsoft Office to be installed on the system.

Freely Operate Excel Files

Powerful & High Quality Excel File Conversion

Examples

Create an Excel File in C#

using Spire.Xls;
using System.IO;
namespace CreateExcelFiles
{
    class Program
    {

        static void Main(string[] args)
        {
            //A: Dynamically create Excel file and save it to stream
            Workbook wbToStream = new Workbook();
            Worksheet sheet = wbToStream.Worksheets[0];
            sheet.Range["C10"].Text = "The sample demonstrates how to save an Excel workbook to stream.";
            FileStream file_stream = new FileStream("To_stream.xls", FileMode.Create);
            wbToStream.SaveToStream(file_stream);
            file_stream.Close();
            System.Diagnostics.Process.Start("To_stream.xls");

            //B. Load Excel file from stream
            Workbook wbFromStream = new Workbook();
            FileStream fileStream = File.OpenRead("sample.xls");
            fileStream.Seek(0, SeekOrigin.Begin);
            wbFromStream.LoadFromStream(fileStream);
            wbFromStream.SaveToFile("From_stream.xls", ExcelVersion.Version97to2003);
            fileStream.Dispose();
            System.Diagnostics.Process.Start("From_stream.xls");
        }

    }
}

Convert Excel to PDF in C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Spire.Xls;

namespace ToPDF
{
    class Program
    {
        static void Main(string[] args)
        {
            Workbook workbook = new Workbook();
            workbook.LoadFromFile("Sample.xlsx", ExcelVersion.Version2010);
            workbook.SaveToFile("result.pdf", Spire.Xls.FileFormat.PDF);
         }
    }
}

Convert Excel to Image in C#

using Spire.Xls;
namespace Xls2Image

{
    class Program
    {
        static void Main(string[] args)
        {
            Workbook workbook = new Workbook();
            workbook.LoadFromFile(@"..\..\test.xls");
            Worksheet sheet = workbook.Worksheets[0];
            sheet.SaveToImage("sample.jpg");
        }
    }
}

Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
13.3.0 140 3/15/2024
12.12.0 3,651 3/30/2023
12.8.0 3,122 8/25/2022
11.3.7 3,115 3/16/2021
10.9.22 1,999 9/30/2020
9.1.0 2,137 1/10/2019
8.12.0 935 12/20/2018
8.11.6 932 11/21/2018
8.11.0 968 11/2/2018
7.12.57 3,003 7/19/2017
7.12.0 953 5/2/2017
7.11.0 973 2/21/2017
7.10.40 1,458 7/29/2016
7.9.21 1,542 2/25/2016
7.8.0 2,124 7/21/2015
7.7.0 1,219 7/1/2015

Spire.XLS Standard Edition 11.3.7