How to Start Convert PDF Work with PDF Modules PDF Document PDF Pages Text Image Graph & Path Annotation, Markup & Drawing Redaction Security Digital Signature Forms Watermark Bookmark Link File Attachment File Metadata Printing Work with Other SDKs Barcode read Barcode create OCR Twain

PDF Converter VB.NET Library
How to convert PowerPoint, pptx to PDF file programmatically without Office, interop in vb.net


VB.NET Tutorial for Export PDF file from Microsoft Office PowerPoint Using VB Programming Language



In this vb.net tutorial, you will learn how to convert Office PowerPoint to PDF file using VB.NET code in Visual Studio applications.

  • Convert PowerPoint to pdf programmatically
  • Convert to PDF from pptx in byte array, or Stream objects
  • No need install Office PowerPoint, and interop
  • Easy to integrate in Windows Forms, WPF applications, ASP.NET using VB.NET

How to convert PowerPoint to PDF using Visual Basic .NET

  1. Download XDoc.PDF Converter VB.NET library
  2. Install vb library to convert PPTX to PDF document
  3. Step by Step Tutorial














How to convert PowerPoint to PDF file using VB.NET code


Following sample code may help you with converting PowerPoint(.pptx/.potm/.ppsm/.ppsx/.potx) to PDF file.



        Dim inputFilePath As String = "C:\1.pptx"
        Dim outputFilePath As String = "C:\Output.pdf"

        ' Load a PowerPoint(.pptx) document.
        Dim doc As PPTXDocument = New PPTXDocument(inputFilePath)

        ' Convert it to PDF document.
        doc.ConvertToDocument(DocumentType.PDF, outputFilePath)