C#: Online Guide
How To: Twain SDK
Acquisition Object
  |  
Home ›› XImage.Twain ›› C# Twain: Acquisition Object

C# TWAIN - TWAIN Image Acquisition Class


How to Control Image Acquiring Process with C# TWAIN Acquisition Object




C# TWAIN Acquisition Class Overview



This Acquisition object is the only class that you need to add if you want to integrate standard image acquisition capabilities into your C# TWAIN image scanning application. An Acquisition object includes a collection of Device objects and each Device object connects to a TWAIN compatible device. From a created Device object, you can find APIs to control each capability supported by target TWAIN device. Therefore, you can easily create a customized TWAIN acquisition process by querying and setting properties of created Device object.


Related .net document control helps:
asp.net edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net dnn pdf editor: ASP.NET DNN PDF Editor Control: view, edit PDF files in Dotnetnuke application
asp.net open pdf password: ASP.NET PDF Password Edit Control: online add, remove, update PDF file open password using C#
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net dnn document viewer: DNN Document Viewer Control: view, annotate, redact, convert documents in dotnetnuke ASP.NET
asp.net webforms document viewer: ASP.NET WebForms application document viewer control: view, annotate, redact, convert files online in ASP.NET
asp.net document viewer: ASP.NET Document Viewer Control in C#: View, Annotate, Redact web document files in ASP.NET using C#


More details about C# TWAIN Image Acquisition Functions:


Standalone C# TWAIN image acquisition solution designed specifically for .NET Framework application


Free to save scanned image directly to file in the form of desired image format using C# code


Allow C# programmers to complete basic TWAIN image scanning process automatically


Able to customize C# TWAIN image acquisition by setting and querying TWAIN device properties


Achieve fast and accurate TWAIN image capturing in Microsoft Visual Studio 2005, 2008, 2010, or 2012




C# TWAIN Image Acquiring Events



The whole Visual C# .NET TWAIN image acquiring process is handled by several important events, including the event to start acquiring image, the event to finish capturing image, the event to cancel image acquisition and the event to transfer acquired image to file. In the following code table, we offer you the event codes for C# TWAIN image acquisition process.


public event ImageAcquiredEventHandler ImageAcquired;


public event EventHandler AcquireFinished;


public event EventHandler AcquireCanceled;


public event FileTransferEventHandler FileTranfer;




Guide Links for Image Acquisition Capabilities



This C# TWAIN scanning library toolkit owns the capacities to achieve both default and featured image acquisition applications.



Acquisition of TWAIN Image Scanning


If you just need to finish a basic TWAIN scanning process, without setting TWAIN device properties to customize your image acquisition, then an Acquisition object is quite enough. Please click for more details.

C#.NET Acquire Image to File


If you want to save scanned and captured TWAIN image to desired file path in C#, you can call the FileTransferEvent. Then, the acquired image will be saved to the file in the form of system default image formats. Please click for more details.

Convert Captured Image to Desired Image


As this C#.NET Imaging SDK contains various image compression schemes, developers can easily convert acquired image to png, jpeg, gif, bmp or tiff image format. To view detailed Visual C# .NET demo code, please refer to this tutorial.