Guide for VB.NET
Core Document Formats
Word to PDF
Additional Features

VB.NET Word - Convert Word to PDF Using VB

How to Convert Word Document to PDF File in VB.NET Application

VB.NET
Home > .NET Imaging SDK > VB.NET > Convert Word to PDF
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

Using our VB.NET Word Conversion Library SDK, users are capable of converting a Word document into PDF file in VB.NET applications without disturbing the original Word document content or formatting. We also offer PDF Conversion control for developers to convert PDF file back to Word document through VB.NET programming. Both conversion tasks can be finished easily by following respective developer guide.
Some VB.NET developers choose to convert Word document to PDF file due to higher security, well printability and smaller size capabilities of PDF file. And the most simple, efficient solution for converting Word document to PDF file with our VB.NET Word Conversion Control SDK is illustrated on this page for all users. This SDK also supports batch Word documents conversion to Adobe PDF files in VB.NET programming.
If you want to save a Word document in PDF format in Visual C# programming, our C#.NET Word Conversion SDK is your best choice for it enables you to convert Word document to PDF file with just a few simple steps. To get more information on Word to PDF conversion in Visual C#, please go to the detailed guide page.
How to Convert Word to PDF in VB.NET
In this part, we will tell you how to integrate our VB.NET Word Conversion Library API into your .NET application using VB language and then convert target Word document to PDF file. There is no need to install Adobe products into your Word to PDF conversion application because our VB.NET Word Conversion Library is a standalone component.
In the first place, you may need to download the free evaluation version of our VB.NET Word Conversion SDK and add the following dlls from the evaluation package to your VB.NET project references in Visual Studio.
  • RasterEdge .Imaging.Basic.dll
  • RasterEdge.Imaging.MSWordDocx.dll
  • RasterEdge .Imaging.PDF.dll
Then, you are able to convert single-page and multi-page Word document version 2003 to 2010 into PDF file by compiling VB.NET demo code below to your Word to PDF conversion application in VB.NET.
     Imports System.IO
Imports System.Drawing.Printing
Imports RasterEdge.Imaging
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.Conversion

Dim PDF As New RasterEdgeImaging()

Public Sub WordConvertToPdf()
If True Then
WordInputFile = ("C:/1.docx")
ImageOutputFile = ImageFormat.pdf
End If
End Sub
doc.Save(@"C:/1.docx", 1, @"C:/1.pdf")
Now, run your Visual Studio .NET project and the task of converting Word document to PDF file is completed. To convert PDF back to Word document in VB.NET, please refer to this page: VB.NET Imaging - Convert PDF to Word Using VB.
More VB.NET Word Conversion Recommendations
Our VB.NET Word Conversion Library SDK not only supports converting Word document to PDF file, but also allows for transforming Word document into other image and document formats, such as BMP, TIFF, PNG, JPEG and more. Word conversion to other formats can be easily achieved at high speed while preserving the original content and layout of your Word document.
Here is a list of document and image formats that are supported by our VB.NET Word Conversion control. If you want to convert Word document to other formats, you may go to corresponding tutorials stated below.
VB.NET Word to PDF Converter Testimonials
"I am very pleased with this Word to PDF Converter exclusively designed for our VB.NET developers. I have successfully integrated functions of this Converter into my conversion project. Thank you and excellent job!" -- John
"This Word to PDF Conversion Control couldn't be much easier to use and it supports batch Word conversions into PDF files. I believe that you'll definitely want to add this utility to your software arsenal." -- Ray Brown
"I really appreciate this guide for converting Word document into PDF file for I am not quite familiar with VB.NET project. By following this guide step by step, I have finished my task finally." -- Richard
More Tutorials!
Find more user guides with RasteEdge .NET Image SDK using VB.NET sample codings!


Recommend this to Google+