SpireXLSstandard 12.8.0

.NET Framework 2.0
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 Versions
.NET Framework net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
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
12.8.0 1,837 8/25/2022
11.3.7 2,202 3/16/2021
10.9.22 1,838 9/30/2020
9.1.0 1,983 1/10/2019
8.12.0 820 12/20/2018
8.11.6 823 11/21/2018
8.11.0 847 11/2/2018
7.12.57 2,363 7/19/2017
7.12.0 853 5/2/2017
7.11.0 848 2/21/2017
7.10.40 1,317 7/29/2016
7.9.21 1,420 2/25/2016
7.8.0 1,505 7/21/2015
7.7.0 1,110 7/1/2015

Spire.XLS Standard Edition 11.3.7