C#: Online Guide
How To: Twain SDK
Quick to Start
Home ›› XImage.Twain ›› C# Twain: Quick to Start

C# TWAIN - Quick to Start Using XImage.Twain SDK

To Have a Quick Evaluation of XImage.Twain Scanning in Visual C# Windows Application

This page is mainly designed for C# users have a quick evaluation of RasterEdge XImage.Twain scanning function. c# convert pdf to tiff itextsharp, asp net mvc show pdf in div, azure pdf generation, c# libtiff example, convert pdf to jpg c# itextsharp, c# code 128 reader. Please refer to the guide below to come into operation.

Related .net document control helps:
c# asp.net mvc document viewer: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net sharepoint document viewer open source: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
asp.net document viewer open source: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
c# asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net mvc pdf editor using c#: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
c# asp.net excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net edit pdf page using c#: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#

Create a C# Windows Application

Open Visual Studio and click "New" from toolbar. Note, Visual Studio 2005 and above versions are available;

Choose "C# Language" and "Windows Application" respectively to create a project. vb.net pdf create thumbnail, c# pdfsharp compression, c# itextsharp pdfreader not opened with owner password, c# create pdf from image, c# pdf stamp, excel to pdf using itextsharp in c#, vb.net change pdf metadata.

Automatic Scanning for C# TWAIN Capturing Application in C#.NET

By following steps below, your C# project are able to read EAN-13 from PDF document. asp.net pdf viewer, asp.net pdf editor, asp.net core pdf preview, pdf viewer in asp.net core mvc, asp.net add text to pdf file, asp net view word document in browser, asp.net display tiff images.

Add necessary XImage.Raster DLL libraries into your created C# application as references.











Use namespaces:





Copy of the following C# sample code to your application.

public void AutomaticScanning(Device device)
   device.AutoScan = true;

   acquisition.ImageAcquired += new ImageAcquiredEventHandler(acquisition_ImageAcquired2);

   acquisition.AcquireFinished += new EventHandler(acquisition_AcquireFinished);

   acquisition.AcquireCanceled += new EventHandler(acquisition_AcquireCanceled);

   // start an auto capture to capture 10 image.time gap between every two captures is 1 second.
   device.StartAutomaticCapture(@"c:\CapturedImage\", 1, 1, 10);

static void acquisition_AcquireCanceled(object sender, EventArgs e)
   Console.Out.WriteLine("Acqusition Canceled");

static void acquisition_AcquireFinished(object sender, EventArgs e)
   Console.Out.WriteLine("Acquisition Finished");

static void acquisition_ImageAcquired2(object sender, ImageAcquiredEventArgs e)
   //do something here.