XDoc.PDF
Features
Tech Specs
How-to C#
How-to VB.NET
Pricing
Quick to Start
Work with Other SDKs
Quick to Start
  |  
Home ›› XDoc.PDF ›› VB.NET PDF: Quick to Start

VB.NET PDF: Get Started with .NET PDF Library Using VB


Help VB.NET User Have Quick Evaluation of .NET PDF SDK with Simple Sample Code for Creating Blank Page to PDF in VB.NET




As a leading professional third-party SDK supplier in the field of image and document management, RasterEdge has always been devoted to providing various effective and fully-functional imaging solutions for developers who are working on different .NET developing applications.


Using this PDF SDK for VB.NET, you can easily and quickly complete PDF document creating and loading, PDF document conversion, PDF content redaction, PDF document annotation, PDF document protection and more in any type of a 32-bit or 64-bit .NET application, including ASP.NET web service and Windows Forms for any .NET Framework version from 2.0 to 4.5.


This page is designed to help users to get started with our standalone application RasterEdge XDoc.PDF SDK for VB.NET in high efficiency after you have finished downloading and installing RasterEdge .NET Imaging SDK on your PC. It will start from how to create a VB.NET console application, and create a blank page in PDF document.




Create a VB.NET Console Application



Open Visual Studio and click "New" from toolbar. Note, Visual Studio 2005 and above versions are available), ;


Choose "VB Language" and "Console Application" respectively to create a project.




How to Create a Blank Page in PDF in VB.NET



Are you looking for a quite easy PDF creating and generating tool to allow for creating new PDF document with blank page? If so, you will work out this target just by using RasterEdge PDF document creating component within VB web or Windows application.


Add necessary XDoc.PDF DLL libraries into your created VB.NET application as references.


  RasterEdge.Imaging.Raster.dll


  RasterEdge.Imaging.Raster.Core.dll


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.PDF.dll


Use namespace "RasterEdge.Imaging.Basic";


Use namespace "RasterEdge.XDoc.PDF";


Copy of the following VB.NET sample code to your application.




Dim outputFile As String = Program.RootPath + "\\" + "output.pdf"

' Create a new PDF Document object with 2 blank pages
Dim doc As PDFDocument = PDFDocument.Create(2)

' Save the new created PDF document into file
doc.Save(outputFile)