The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout Barcode Suite is the set that includes three different SDK products to generate barcodes, read barcodes and read and write spreadsheets: Barcode SDK, Barcode Reader SDK and Spreadsheet SDK and you can use it to add images with spreadsheet sdk with VB.NET.
The SDK samples given below describe how to quickly make your application do add images with spreadsheet sdk in VB.NET with the help of ByteScout Barcode Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Complete and detailed tutorials and documentation are available along with installed ByteScout Barcode Suite if you’d like to learn more about the topic and the details of the API.
You can download free trial version of ByteScout Barcode Suite from our website with this and other source code samples for VB.NET.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.IO
Imports System.Text
Imports Bytescout.Spreadsheet
Class Program
Friend Shared Sub Main(args As String())
' Create spreadsheet
Dim doc As New Spreadsheet()
' Add worksheet
Dim worksheet As Worksheet = doc.Worksheets.Add()
' Put an image on the worksheet with 10 pixel margin from the top-left corner of the worksheet
worksheet.Pictures.Add("image1.jpg", 10, 10)
' Put second image to 200 pixel offset and resize it to 250x200 px
worksheet.Pictures.Add("image2.jpg", 200, 200, 250, 200)
' Delete output file if exists
If File.Exists("output.xls") Then
File.Delete("output.xls")
End If
' Save document
doc.SaveAs("output.xls")
' Close spreadsheet
doc.Close()
' Open generated XLS document in default application
Process.Start("output.xls")
doc.Dispose()
End Sub
End Class
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: