C#: Online Guide
How To: Twain SDK
Basic Acqusition
Basic Acqusition
Home ›› XImage.Twain ›› C# Twain: Basic Acqusition

C# TWAIN - Basic Image Acquisition Guide

C# Acquisition Class Object for Basic TWAIN Image Scanning Process

C# TWAIN Basic Image Acquisition Overview

Although our C# TWAIN image scanning library add-on offers developers the capacity to customize the TWAIN image acquisition process. read pdf in asp.net c#, asp net mvc generate pdf from view itextsharp, c# extract table from pdf, c# convert pdf to tiff ghostscript, vb.net read pdf file contents, c# load tiff to bitmap. We also allow programmers to conduct a system default scanning application if they just want achieve C# TWAIN basic image scanning process.

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#
mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC

Preparation for C# TWAIN Image Acquisition

In this part, you will find the installation requirements of this C# TWAIN basic image acquisition component toolkit. vb.net convert word to pdf, merge two pdf byte arrays c#, c# generate pdf with images, c# code to compress pdf file, vb.net edit pdf document, how to add header and footer in pdf using c#, vb.net ocr read text from pdf.

Install C# TWAIN Image Scanning Compact DLLs

C# developers can easily add basic TWAIN image scanning features to their imaging application by integrating following compact dlls, which are RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.TWAIN.dll, into the project references.

Obtain License Key of C# TWAIN Image Scanning SDK

A valid developing license key is needed if you want to use this C# TWAIN scanning control for basic image acquisition. After you get the license key of C# TWAIN image scanning add-on, you need to put it in the bin folder of your C# TWAIN imaging application, together with integrated C# TWAIN scanning dlls.

Configure System Environment for C# TWAIN Image Acquisition

To ensure the C# TWAIN image capturing library add-on can work successfully in your imaging application, you have to make sure you have installed .NET Framework 2.0 (or 3.0, 3.5, 4.0, 4.5), Microsoft Visual Studio 2005 (or VS 2008, VS 2010, VS 2012), TWAIN and at least one TWAIN compatible device. asp.net remove text from pdf online, mvc view pdf, asp.net remove image from pdf page, asp.net multipage tiff viewer, asp.net pdf viewer control free, pdf preview in asp.net c#, pdf editor asp.net.

C# TWAIN Acquisition Object and Event Introduction

In the process of C# TWAIN basic image acquisition, a programming class, namely, Acquisition object, and an event handler, namely, ImageAcquireEvent, will be used. The Acquisition object is the primary class in RasterEdge C#.NET TWAIN Scanning add-on, which contains various Device objects that control numerous properties of TWAIN device(s). After you create an Acquisition object, you need to add an event handler named ImageAcquiredEvent to the image capturing event. Once the image acquiring event is triggered, you can write your own C# programming code to process acquired image object.

Here we list the code for ImageAcquiredEvent:

public event ImageAcquireEventHandler ImageAcquired;

C# Demo Code for Basic Image Acquisition

In this part, we offer you a Visual C# .NET programming code, using which you can finish the basic TWAIN image acquisition process.

public void Scanning()
   Acquisition acq = new Acquisition();
   acq.ImageAcquired += new ImageAcquireEventHandler(acq_ImageAcquired1);

void acq_ImageAcquired1(object sender, ImageAcquiredEventArgs e)
   REImage myImage = REImage.FromBitmap(e.Image);