Master Excel Automation with Bytescout Spreadsheet SDK

Written by

in

ByteScout Spreadsheet SDK is a standalone developer toolkit designed for seamless Excel and spreadsheet manipulation across .NET environments like C#, VB.NET, and ASP.NET. It features a standalone execution engine that operates without requiring Microsoft Excel or Office Interop dependencies. Key Features and Capabilities

Multi-Format Support: Reads and writes standard spreadsheet formats including XLSX, XLS, CSV, ODS (Open Office Calc), TXT, HTML, XML, and directly exports to PDF without external libraries.

Formula Calculation Engine: Includes an integrated engine capable of calculating and recalculating standard mathematical Excel formulas and financial add-ins like XIRR.

Visual Data Representation: Supports cell formatting (fonts, alignment, borders, colors) alongside 12 distinct chart types (including bar, pie, and line charts) to generate visual business reports.

Data Structure Integration: Facilitates mass operations by reading spreadsheet files directly into a System.Data.DataSet or importing data collections from Arrays, JSON, and Lists.

Command-Line Utility: Features a built-in console tool (ByteScout.Spreadsheet.Console.exe) to execute spreadsheet conversions directly via batch files or terminal commands. Technical Implementation

Developers can install the library into a .NET project using the ByteScout Spreadsheet NuGet Package. Below is a standard C# paradigm for generating a spreadsheet natively:

using System; using Bytescout.Spreadsheet; namespace ExcelGeneration { class Program { static void Main(string[] args) { // Initialize the workbook instance Spreadsheet document = new Spreadsheet(); // Add a new worksheet named “Report” Worksheet worksheet = document.Workbook.Worksheets.Add(“Report”); // Populate cells with explicit values worksheet.Cell(0, 0).Value = “Monthly Revenue”; worksheet.Cell(0, 1).Value = 54000; // Apply simple formatting worksheet.Cell(0, 0).Font = new System.Drawing.Font(“Arial”, 12, System.Drawing.FontStyle.Bold); // Save directly to the local storage system document.SaveAsXLSX(“OperationalReport.xlsx”); // Clean up resources document.Close(); } } } Use code with caution. Strategic Limitations to Consider Bytescout Spreadsheet SDK – Загрузить

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *