Saraff.Twain.NET is the skillful scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.

  • TWAIN specification 1.x / 2.x compatible
  • Programming environments: .NET Framework 2.0 or higher, WPF 3.5 or higher
  • Full support for x86 and x64 platforms
  • This is a fully-managed .NET library to guarantee the fast working in .NET Framework
  • Acquire images from scanners, web or digital cameras and any other TWAIN device
  • Data source enumeration and selection
  • Control the work of Automatic Document Feeder (ADF) while scanning
  • Supports Native, Buffered Memory, Disk File and Memory File image transfer mode
  • Set up images acquisition parameters (pixel type, resolution, page size, image layout rectangle, brightness, contrast, etc)
  • Retrieve the extended image information from scanner (barcode, patch code info, etc)
  • Control advanced capabilities of TWAIN devices (rotation of images, scaling of images, filters of images, paper handling, the patch code detection and etc)
  • Save acquired images as BMP, JPEG, PNG, GIF, TIFF files
Saraff.Twain.NET was tested and has examples of use for:
  • Microsoft Visual C# 2005 / 2008 / 2010
  • Microsoft Visual Basic - VB.NET 2005 / 2008 / 2010
Supported frameworks: .NET 2.0 / 3.0 / 3.5 / 4.0 / 4.5 (including WPF 3.5 / 4.0)
System requirements:.NET Framework
Supported platforms:
  • Windows 2000 / XP / 2003 / Vista / 2008 / 7, 32-bit / 64-bit (See Introduction)
  • Linux (was tested on Lubuntu 14.04 LTS x86_32)
Samples: Documentation is available

Saraff.Twain.Sample2 on Windows 7

Saraff.Twain.WebSample index.htm on IE 11

Saraff.Twain.WebSample index2.htm on IE 11

Saraff.Twain.Sample2 on Lubuntu 14.04 LTS

Last edited Feb 21 at 9:45 PM by SARAFF, version 46