- DocImaging for C#
- DocImaging for VB.NET
- KNOWLEDGE BASE
Guide for VB.NET
Core Document Formats
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!
PDF Document Printer Library in VB.NET
How to integrate fully featured PDF document printing features into VB.NET image processing application? Without having any dependency on other third-part PDF document editors, this VB.NET PDF document printer SDK allows developers to print source PDF document from VB.NET developing application with a variety of printing options, such as PDF printing resolution and PDF printing orientation.
Here we divide this online tutorial page for how to print PDF document using VB.NET programming code into following five aspects.
PDF Printing API Features in VB.NET
PDF Printer Library DLLs in VB.NET
This VB.NET PDF document printer SDK contains two libraries, one is RasterEdge.Imaging.Basic.dll and the other is RasterEdge.Imaging.PDF.dll. Using the former dll, developers can perform some image-related processing functions. The later dll owns its own PDF file interpreter APIs, which can be used to edit PDF document in .NET class application.
Methods to Print PDF File in VB.NET
Here we list two PDF document printing methods for VB.NET document imaging applications.
Method to Print All PDF Pages in VB.NET
Public Sub PdfProcessorPrint(PDFInputFile As String, Printer As [String])
Method to Print One PDF Page in VB.NET
As this VB.NET PDF document printer library owns mature API for PDF document page indexing and processing, developers can accurately select one PDF page by entering the page number directly.
Public Sub PdfProcessorPrint(PDFInputFile As String, PDFPageNumberStart As Integer, PDFPageNumberStop As Integer,
VB.NET Demo Code for PDF Document Printing
In this section, we offer you two VB.NET programming examples for different PDF document printing requirements. One is used to print all source PDF document files using VB.NET code and the other is used to print one certain defined PDF document page. What should be noted here is that this version of RasterEdge VB.NET PDF document printer SDK does not support PDF document printing by defining a page range.
How to Print All PDF Pages Using VB.NET Programming Code
How to Print One PDF Page Using VB.NET Code Programmatically
PDF File Printer Library FAQs in VB.NET
Q 1: Can I integrate this VB.NET PDF document printer library into my ASP.NET web application?
A 1: Yes, this VB.NET PDF document printer library is designed for all .NET developing platforms, not for any specific .NET application. Thus, developer can easily integrate this VB.NET PDF printing library into ASP.NET web application or Windows Forms project.
Q 2: Does this VB.NET PDF document printer SDK have any requirement on the resolution of target printers?
A 2: No, this VB.NET PDF document printer SDK owns high compatibility with both low-resolution and high-resolution printers.
Q 3: Using this VB.NET PDF printer SDK API, can I define the number of printing copies by VB.NET programming code?
A 3: No, this VB.NET PDF document printing API only allows developer to print all PDF pages or one certain PDF page. But developer can print source PDF document for defined times by adding his own VB.NET command.
Q 4: Using this VB.NET PDF document printer SDK, can I view source PDF file before printing without installing other external PDF document reader software?
A 4: This VB.NET PDF document printer SDK does not enable you to view source PDF document independently. But integrated with this .NET web viewer control, you can display PDF document file before printing.