Guide for VB.NET
Core Document Formats
Additional Features
Basic Acqusition

VB.NET TWAIN - Basic Image Acquisition Tutorial

Integrate TWAIN Basic Image Acquisition Control Within VB.NET Project

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

This page is well designed to talk about RasterEdge .NET TWAIN Basic Image Acquisition Control within Visual Basic class from following aspects:
Related .net document control helps:
asp.net open word document in browser: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net document viewer control: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net excel view: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net mvc text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net edit pdf text color: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
  • What is the basic TWAIN image acquisition library of RasterEdge .NET Imaging SDK? And how is it combined within .NET Framework, specifically, VB.NET?
  • How does TWAIN basic image acquisition control work within Visual Studio developing environment?
  • What are the outstanding features of RasterEdge .NET TWAIN SDK?
RasterEdge .NET TWAIN toolkit in VB.NET platform provides users the most reliable and professional TWAIN image acquisition capacity, which opens a connection to the device to get and set properties, and then acquires one or more images from the TWAIN compatible digital imaging devices, such as scanner, digital camera or multi-function peripheral.
Basic TWAIN Image Capturing
The VB.NET TWAIN Image Scanning and Acquisition application is completely programmed for VB.NET developers to achieve fast opening and acquiring of digital images from scanners, web cameras and other devices that support TWAIN.
In addition, this TWAIN acquisition object contains both the form of single device and a collection device objects to complete control over the source devices installed on your machine with abilities to set and customize VB.NET TWAIN image capturing options, like canceling image capturing progress based on user-defined requirement, finishing image acquiring and transferring the captured TWAIN images into other supportable formats.
However, if users do not want to set and query properties of the device or customize their TWAIN acquisition control with the complete APIs. An Acquisition object is enough for basic TWAIN image scanning process within VB.NET project.

Combine with VB.NET Program

As a matter of fact, VB.NET TWAIN basic image acquisition application can be done with only a few simple steps.
  1. First of all, you need to download RasterEdge .NET Imaging SDK package from any web page of RasterEdge.com;
  2. Secondly, install the SDK trial package and run the .exe file of imaging license manager to activate your granted license;
  3. Thirdly, open your Visual Studio 2005, 2008, 2010 or 2012 to create a Windows desktop application with VB.NET programming language;
  4. Last, embed the "RasterEdge.Imaging.Basic.dll" and "RasterEdge.Imaging.TWAIN.dll" assemblies by adding references to your VB.NET project;
  5. Now, it's done! You can begin to evaluate and enjoy this marvelous TWAIN basic image capturing library in VB.NET.
TWAIN Basic Image Acquisition in VB

API for TWAIN Basic Image Acquisition

Sample API below in VB.NET class can be used to fulfill the basic TWAIN image acquisition needs. If you need more related VB.NET methods on controlling VB.NET TWAIN image scanning through Acquisition Object, you are supposed to link to get the detailed guide.
public Event ImageAcquired As ImageAcquireEventHandler

Code on Basic TWAIN Capturing

Please do copy following demo code on basic TWAIN image acquisition to your VB.NET TWAIN image acquisition program to shorten your developing time with success.
And one notice here, the whole TWAIN acquisition process is event driven, that means any scanning or capaturing during TWAIN acquisition time must be handled in an event handler, like basic acquisition handler "ImageAcquireEventHandler".
Public Sub Scanning()
Dim acq As New Acquisition()
acq.ImageAcquired += New ImageAcquireEventHandler(AddressOf acq_ImageAcquired1)
acq.Aquire()
End Sub

Private Sub acq_ImageAcquired1(sender As Object, e As ImageAcquiredEventArgs)
Dim myImage As REImage = REImage.FromBitmap(e.Image)
End Sub
TWAIN SDK Features
RasterEdge TWAIN component for VB.NET is a robust control that opens and imports images into an application from any TWAIN compliant device such as a scanner or webcam. We list its main features as below:

Fully Configurable TWAIN Image Capturing SDK

This TWAIN image acquisition application allows VB.NET users either to define the acquisition settings and properties or directly use default basic TWAIN scanning application in .NET platform.

Allow to Scan and Acquire Single or Multiple Images

By connecting to TWAIN scanning device, users are free to choose to query and acquire single image or multiple images quickly using our VB.NET image acquisition control.

Image Can Be Saved to Variable Image Files

Image captured from VB.NET TWAIN scanning application can be saved to other project route or saved as file in bmp, jpeg, tiff, gif or even pdf format.

User-friendly and Easy-to-use TWAIN Interface

Our .NET TWAIN image acquisition add-on is mature and easy-to-use. There is no need to know much about TWAIN, or it is not necessary for you to be a TWAIN pro.


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster Edge.com