ByteScout Premium Suite - VB.NET - Convert html to pdf with pdf sdk - ByteScout

ByteScout Premium Suite – VB.NET – Convert html to pdf with pdf sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VB.NET – Convert html to pdf with pdf sdk

How to convert html to pdf with pdf sdk in VB.NET with ByteScout Premium Suite

Step-by-step tutorial on how to convert html to pdf with pdf sdk in VB.NET

On this page you will learn from code samples for programming in VB.NET.Writing of the code to convert html to pdf with pdf sdk in VB.NET can be executed by programmers of any level using ByteScout Premium Suite. Want to convert html to pdf with pdf sdk in your VB.NET app? ByteScout Premium Suite is designed for it. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.

The following code snippet for ByteScout Premium Suite works best when you need to quickly convert html to pdf with pdf sdk in your VB.NET application. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Want to see how it works with your data then code testing will allow the function to be tested and work properly.

The trial version of ByteScout Premium Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Module1.vb
      
Imports System.Drawing.Printing Imports Bytescout.PDF.Converters Module Module1 <STAThread> Sub Main() Using converter As New HtmlToPdfConverter() converter.PageSize = PaperKind.A4 converter.Orientation = PaperOrientation.Portrait converter.Footer = "FOOTER TEXT" ' optional footer text converter.ConvertHtmlToPdf("sample.html", "result.pdf") ' You can also pass a link instead of the input file: 'converter.ConvertHtmlToPdf("http://google.com", "result.pdf") End Using ' Open result file in default PDF viewer Process.Start("result.pdf") End Sub End Module

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next