The sample source code below will teach you how to add background image with spreadsheet sdk in C#. Want to add background image with spreadsheet sdk in your C# app? ByteScout Data Extraction Suite is designed for it. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.
These C# code samples for C# guide developers to speed up coding of the application when using ByteScout Data Extraction Suite. This C# sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Enjoy writing a code with ready-to-use sample codes in C#.
Trial version of ByteScout Data Extraction Suite is available for free. Source code samples are included to help you with your C# app.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System.Diagnostics; using System.Drawing; using Bytescout.Spreadsheet; namespace AddBackgroundImage { class Program { static void Main(string[] args) { // Create new spreadsheet (or open existing) Spreadsheet doc = new Spreadsheet(); doc.RegistrationName = "demo"; doc.RegistrationKey = "demo"; // Add worksheet Worksheet worksheet = doc.Worksheets.Add(); // Put background image on the worksheet worksheet.BackgroundPicture = Image.FromFile("image1.jpg"); // Save document doc.SaveAs("output.xls"); // Close spreadsheet doc.Close(); // Open generated XLS document in default application Process.Start("output.xls"); doc.Dispose(); } } }
60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
Explore ByteScout Data Extraction Suite Documentation
Explore Samples
Sign Up for ByteScout Data Extraction Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
Explore ByteScout Data Extraction Suite Documentation
Explore Samples
Sign Up for ByteScout Data Extraction Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: