The SDK samples given below describe how to quickly make your application do convert docx 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! Further improvement of the code will make it more robust.
ByteScout PDF Suite free trial version is available on our website. VB.NET and other programming languages are supported.
Imports System.Drawing.Printing Imports Bytescout.PDF.Converters Module Module1 Sub Main() Using converter As New DocxToPdfConverter() converter.PageSize = PaperKind.A4 converter.Orientation = PaperOrientation.Portrait converter.Footer = "<p style=""color: blue;"">FOOTER TEXT</p>" converter.ConvertDocxToPdf("sample.docx", "result.pdf") End Using ' Open result file in default PDF viewer Process.Start("result.pdf") End Sub End Module