An easy to understand guide on how to create invoice pdf from html with pdf sdk in VB.NET with this source code sample. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to create invoice pdf from html with pdf sdk using VB.NET.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Premium Suite for create invoice pdf from html with pdf sdk below and use it in your application. Simply copy and paste in your VB.NET project or application you and then run your app! Complete and detailed tutorials and documentation are available along with installed ByteScout Premium 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 Premium Suite from our website with this and other source code samples for VB.NET.
Imports System.Drawing.Printing Imports Bytescout.PDF.Converters Module Module1 ''' <summary> ''' This example demonstrates how to create invoice from HTML. ''' </summary> <STAThread> Sub Main() Using converter As New HtmlToPdfConverter() converter.PageSize = PaperKind.Letter converter.Orientation = PaperOrientation.Portrait ' Convert input HTML to output pdf converter.ConvertHtmlToPdf("invoice.html", "result.pdf") End Using ' Open result file in default PDF viewer Process.Start("result.pdf") End Sub End Module