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 pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net ppt viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
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 multipage tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents


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.