Guide for VB.NET
Core Document Formats
Additional Features
Get Device Object Through Acquisition

VB.NET TWAIN - How to Obtain Device Object

VB.NET Tutorial for Obtaining Device Object from Acquisition

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

Through VB.NET programming, the Device object can be used to control the TWAIN image scanning process. Here is a tutorial that tells you how to obtain Device object using Acquisition methods. If you want to utilize the Device object to control your TWAIN scanning process, please pay attention to the following questions.
Related .net document control helps:
powerpoint viewer asp.net mvc: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net view text file: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net office document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net mvc pdf editor control: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net image viewer jquery: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net sharepoint document viewer free: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
  • What DLLs are used to get the Device object from Acquisition object in VB.NET TWAIN project?
  • What APIs are used to get the Device object from Acquisition object in VB.NET TWAIN application?
  • What VB.NET demo code is used to obtain the Device object using the Acquisition methods?
  • Why need to get the Device object from Acquisition through VB.NET programming?
  • Are there some other VB.NET tutorials related to Device object obtaining from Acquisition?
VB.NET developers will find detailed APIs and demo code for obtaining the Device object from TWAIN acquisition in VB.NET project. Moreover, you will know the reason for getting Device object using Acquisition method in VB.NET and some related tutorials.
DLLs to Get Device Object
Developers are supposed to add RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.TWAIN.dll two DLLs in your VB.NET TWAIN image scanning project to obtain Device object from Acquisition object. Your VB.NET project only can be built in Visual Studio 2005 or later versions. And the two DLLs can be found in our TWAIN Scanning Add-On package offered online.
APIs to Get Device Object
The following APIs can be used to obtain the Device object using Acquisition method in VB.NET TWAIN application. Then, the obtained Device object can be used to control the TWAIN image scanning process in an easy way.
Private Function GetDevice(deviceName As [String]) As Device Implements Acquisition.GetDevice
End Function
Private Function Devices As Device Implements Acquisition.Devices
End Function
Private Function ShowSelectSource() As Device Implements Acquisition.ShowSelectSource
End Function
Private Function GetAvailableSource As Device Implements Acquisition.GetAvailableSource
End Function
Note: The application programming interfaces (APIs) only specify how our software components should interact with each other to obtain the Device object from Acquisition in VB.NET project.
Demo Code to Get Device Object
VB.NET demo code below is designed by our professional .NET programmers to help you get the Device object using Acquisition method in VB.NET programming. You can use the Device object to customize the TWAIN image scanning process.
' Get Device Object Through Acquisition
Public Function GetDevice() As Device
Dim acq As New Acquisition()
Return acq.ShowSelectSource()
End Function
Why to Obtain Device Object?
The reason for obtaining the Device object using Acquisition method in VB.NET programming is to control the TWAIN image scanning process. Developers can easily customize VB.NET TWAIN scanning process by detecting and setting properties of the created Device object based on own needs. Each Device object only connects to one TWAIN compatible device and it contains APIs to control various kinds of device properties in VB.NET.
Related Tutorials
In our VB.NET TWAIN scanning program, there are some other tutorials related to Device object obtaining from Acquisition. We also provide detailed tutorials for these programs.

Basic Acquisition Tutorial

Here is a specific VB.NET tutorial for basic acquisition. You may refer to this tutorial to complete basic TWAIN scanning process if you are not intending to achieve featured image acquisition by setting the TWAIN device properties in VB.NET application.

Device Control Tutorial

After getting the Device object using Acquisition method in VB.NET, you can follow this tutorial to use the Device object to control TWAIN image scanning process. Thus, it is possible to customize the image scanning according to certain needs.

Device Abilities Querying Tutorial

Developers who want to achieve customized TWAIN image scanning in VB.NET may need to query the TWAIN device capabilities (including compression mode, resolution, frame sizes, etc). This VB.NET TWAIN device abilities querying tutorial may help you a lot.

Feature Scanning Tutorial

VB.NET developers are not only able to finish a basic image scanning process with our TWAIN Scanning Add-On, but also capable of customizing the image scanning process. Here is a detailed tutorial for realizing featured TWAIN image scanning in VB.NET class.


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