0% found this document useful (0 votes)
4 views

ByteScout-Spreadsheet-SDK-VB-NET-Export-To-PDF

The document provides instructions on how to export to PDF using VB.NET with the ByteScout Spreadsheet SDK, which allows for reading, modifying, and exporting Excel and CSV files. It includes sample source code demonstrating the export process and offers a free trial version of the SDK for users to test. Additional resources such as API documentation and training are also available on the ByteScout website.

Uploaded by

1sawantsachin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

ByteScout-Spreadsheet-SDK-VB-NET-Export-To-PDF

The document provides instructions on how to export to PDF using VB.NET with the ByteScout Spreadsheet SDK, which allows for reading, modifying, and exporting Excel and CSV files. It includes sample source code demonstrating the export process and offers a free trial version of the SDK for users to test. Additional resources such as API documentation and training are also available on the ByteScout website.

Uploaded by

1sawantsachin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

www.bytescout.

com

How to export to PDF in VB.NET and ByteScout Spreadsheet SDK

How to export to PDF in VB.NET

These sample source codes on this page below are demonstrating how to export to PDF in VB.NET.
ByteScout Spreadsheet SDK is the SDK component for writing, reading, modifying and calculating Excel
and CSV spreadsheets. Can calculate and reculculate formulas with Excel installed. You may import or
export data to and from CSV, XML, JSON. Supports export to databases, arrays, streams. It can be used to
export to PDF using VB.NET.

This rich sample source code in VB.NET for ByteScout Spreadsheet SDK includes the number of functions
and options you should do calling the API to export to PDF. In your VB.NET project or application you may
simply copy & paste the code and then run your app! Test VB.NET sample code examples whether they
respond your needs and requirements for the project.

Free trial version of ByteScout Spreadsheet SDK is available for download from our website. Get it to try
other source code samples for VB.NET.

FOR MORE INFORMATION AND FREE TRIAL:

Download Free Trial SDK (on-premise version)

Read more about ByteScout Spreadsheet SDK

Explore API Documentation

Get Free Training for ByteScout Spreadsheet SDK

Get Free API key for Web API

visit www.ByteScout.com

Source Code Files:

Module1.vb
Imports Bytescout.Spreadsheet
Imports System.IO

Module Module1

Sub Main()
' Open Spreadsheet
Dim document As New Spreadsheet()
document.LoadFromFile("SimpleReport.xls")

' add image


document.Workbook.Worksheets(0).Pictures.Add(5, 1, "image.jpg")

' remove output file if already exists


If File.Exists("Output.pdf") Then
File.Delete("Output.pdf")
End If

' Export to PDF


Dim autosize = False
document.SaveAsPDF("Output.pdf", autosize)

' Close Spreadsheet


document.Close()

' open in default spreadsheets viewer/editor


Process.Start("Output.pdf")

End Sub

End Module

VIDEO

https://www.youtube.com/watch?v=nm_7I0PN1TY

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Spreadsheet SDK Home Page


Explore ByteScout Spreadsheet SDK Documentation
Explore Samples
Sign Up for ByteScout Spreadsheet SDK Online Training
ON-DEMAND REST WEB API

Get Your API Key


Explore Web API Docs
Explore Web API Samples

visit www.ByteScout.com

visit www.PDF.co

www.bytescout.com

You might also like