Work with Other SDKs
PDF Print
  |  
Home ›› XDoc.PDF ›› VB.NET PDF: PDF Print

VB.NET PDF - Print PDF Document in VB.NET


VB.NET PDF Document SDK for PDF Printing in Visual Basic .NET Program





Standalone VB.NET PDF document printer SDK that is programmed in 100% managed VB.NET code


Robust VB.NET document printing solution that can be used in .NET Framework 2.0, 3.0, 3.5, 4.0 & 4.5


Quickly print all target PDF document pages or one specified PDF page by VB.NET code




PDF Printer Library DLLs in VB.NET



Make sure you have installed Visual Studio 2005 (or above versions) and .NET Framework 2.0 (or greater versions);


Add following dlls from VB.NET PDF document printer SDK to your VB.NET project references;


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.Raster.dll


  RasterEdge.XDoc.Raster.Core.dll


  RasterEdge.XDoc.PDF.dll


Then you can print PDF document using following demo code.




How to Print PDF Pages Using VB.NET Programming Code



This sample code explains how to print pdf pages in VB.NET Application.




' connect physical/visual printer to print pdf file
Dim stream As FileStream = File.Open("C:\1.pdf", FileMode.Open)
Dim options As PDFPrinterOption = New PDFPrinterOption()
PDFPrinter.Print(stream, options)