VB.NET PDF: How to HTML5 PDF Viewer PDF Create PDF Export File & Page Process PDF Read PDF Write Form Process Document Protect Annotation & Drawing PDF Print WPF PDF Viewer Work with Other SDKs Barcode Read Barcode Create OCR Twain
Home ›› XDoc.PDF ›› VB.NET PDF: Twain

VB.NET PDF - Acquire or Save PDF Image to File in VB.NET

VB.NET TWAIN Add-on for Saving Acquired PDF Image to File in VB.NET


If you want to acquire an image directly into the VB.NET application in which you are going to work with the image, you'd better use the widely used application programming interface - TWAIN. TWAIN is not a hardware-level protocol, but a communication protocol that realizes connection between software and digital imaging devices.

Using our VB.NET TWAIN Add-On, you are capable of scanning images from digital imaging devices (such as TWAIN compatible scanners and digital cameras) automatically and saving the images to file in VB.NET application.

VB.NET TWAIN Scanning DLLs: Scan Many Pages into One PDF

In order to scan multiple pages into one PDF document through VB.NET programming language, you may need to add the following dlls to your Visual Basic .NET TWAIN scanning project.

Add necessary references:










Use corresponding namespaces;

  using RasterEdge.Imaging.Raster.Core;

  using RasterEdge.XDoc.PDF;

  using RasterEdge.Imaging.WinformsControl.Twain;

  using RasterEdge.XImage.Raster;

VB.NET TWAIN Scanning Events: Scan Many Pages into One PDF

To accomplish this kind of VB.NET TWAIN scanning, it is indispensable to set up some events to assist with the process of scanning from device and convert the images obtained to form a PDF document.

AcquireCanceled: Raised if VB.NET user cancels TWAIN acquisition process.

AcquireCompleted: Raised when the scanner has finished scanning the last page.

ImageAcquired: Raised each time the scanner finishes scanning a page.