The SDK samples given below describe how to quickly make your application do convert svg to pdf with pdf sdk in VB.NET with the help of ByteScout PDF Suite. Simply copy and paste in your VB.NET project or application you and then run your app! Enjoy writing a code with ready-to-use sample VB.NET codes.
Our website gives trial version of ByteScout PDF Suite for free. It also includes documentation and source code samples.
Imports System.Drawing.Printing Imports Bytescout.PDF.Converters Module Module1 <STAThread> Sub Main() ' HtmlToPdfConverter can convert HTML files with SVG content, or SVG files directly. Using converter As New HtmlToPdfConverter() converter.PageSize = PaperKind.A4 converter.ConvertHtmlToPdf("drawing.svg", "result.pdf") ' You can also pass a link instead of the input file: 'converter.ConvertHtmlToPdf("http://somesite.com/files/drawing.svg", "result.pdf") End Using ' Open result file in default PDF viewer Process.Start("result.pdf") End Sub End Module