Getting Started
Leadtools.Twain Getting Started
Summary
For pointers to sample programs that demonstrate many features, see the table below:
.NET
Java/Android
JavaScript
Xamarin
.NET
Redistributables Paths
Assembly - Class/Namespace
|
Comments
|
Leadtools.Twain.DLL - Leadtools.Twain
|
The Leadtools.Twain namespace provides support for TWAIN scanning functionality.
|
Dependencies
Library |
Description |
Dependencies |
Leadtools.Windows.Media.TransitionBase.dll |
Core Library |
Leadtools.dll
|
Leadtools.Twain | Enhanced TWAIN Library |
Sample Programs
Name |
Path |
Description |
Fast TWAIN Demo |
\Examples\Scanning\DotNet\FastTwainDemo |
Demonstrates Fast Twain scanning support. Analyzes the TWAIN source, considering the requested bits per pixel, image type and compression, and finds the best compression type, transfer mode and buffering schemes to get the best performance possible. |
TWAIN Demo |
\Examples\Scanning\DotNet\TwainDemo |
Demonstrates TWAIN scanning features. - Select TWAIN source
- Acquire images from TWAIN sources
- Display images acquired from TWAIN sources
- Save images acquired from TWAIN sources
|
TWAIN High Level Demo |
\Examples\Scanning\DotNet\TwainHighDemo |
Demonstrates the high-level LEADTOOLS TWAIN scanning features. - Select TWAIN source
- Acquire images from TWAIN sources
- Display images acquired from TWAIN sources
- Save images acquired from TWAIN sources
|
TWAIN Multi-Page Demo |
\Examples\Scanning\DotNet\TwainMultipageDemo |
Demonstrates the multi-page scanning with LEADTOOLS TWAIN scanning features. - Select TWAIN source
- Acquire images from TWAIN sources
- Display images acquired from TWAIN sources
- Save images acquired from TWAIN sources
|
TWAIN With Barcode Separator Demo |
\Examples\Scanning\DotNet\TwainWithBarcodeSeparatorDemo |
Demonstrates TWAIN scanning and barcode separation feature. -
Scans pages from a TWAIN source and saves the acquired pages to multi-page TIFF files. Uses the LEADTOOLS barcode engine to search for Code128 barcodes on the pages. If a user-specified barcode string is detected, the separator is saved to a new TIFF file, which is appended with all subsequent pages until a new separator is detected. |
WIA Demo |
\Examples\Scanning\DotNet\WiaDemo |
Demonstrates WIA scanning features. - Select WIA source
- Acquire images from WIA sources
- Display images acquired from WIA sources
- Save images acquired from WIA sources
|
Leadtools.WebScanning.Plugin |
\Examples\Scanning\DotNet\WebScanning.Plugin |
ActiveX plugin for Internet Explorer to start Leadtools.WebScanning.Host application. This plugin is registered in WebScanning MSI installation process. |
Leadtools.WebScanning.Host |
\Examples\Scanning\DotNet\WebScanning.Host |
Hosts Leadtools.Services.Twain service. A custom application url is used for lunaching this application from browsers. Use "Utils.RegisterAppUrl" method to register a custom application url (for details, please check the Main method implementation of this demo in Program.cs ). For Internt Explorer: an ActiveX plugin (Leadtools.WebScanning.Plugin.dll) is used for launching this application. |
Java/Android
Sample Programs
Name |
Path |
Description |
Leadtools Camera Demo (Android) |
\Examples\Scanning\Android\LeadtoolsCamera |
Demonstrates using the camera library that bridges android.hardware.camera and android.hardware.camera2 for easier live capture and single image camera applications. |
Leadtools.Sane.Host (Java) |
\Examples\Scanning\Java\Leadtools.Sane.Host |
|
SANE Demo (Java) |
\Examples\Scanning\Java\SaneDemo |
- Demonstrates SANE scanning features.
- Acquire images from SANE sources
- Save images acquired from SANE sources
|
WebScanningRPM (Java) |
\Examples\Scanning\Java\WebScanningRPM |
|
JavaScript
Sample Programs
Name |
Path |
Description |
Scanning Demo |
\Examples\Scanning\JS\ScanningDemo |
Demonstrates web scanning functionality using TWAIN, SANE, and HTML5 / JavaScript - Select a source
- Scan an image
- Print images
|
Leadtools.WebScanning.Setup |
\Examples\Scanning\JS\WebScanning.Setup |
Installation package for the LEADTOOLS Web Scanning Twain service. Install the required components to run the Web Scanning Demo. |
Xamarin
Sample Programs
Name |
Path |
Description |
Camera Demo |
\Examples\Scanning\Xamarin\CameraDemo |
Demonstrates using the camera library that bridges android.hardware.camera and android.hardware.camera2 for easier live capture and single image camera applications. |
See Also
Reference
Introduction
Getting Started (Guide to Example Programs)
Programming with LEADTOOLS TWAIN Functions
Tutorial: Acquiring an Image
Summary of Supported File Formats
Tutorial: Twain Duplex
Tutorial: Twain Feeder Tutorial #1
Tutorial: Twain Feeder Tutorial # 2
Tutorial: Get a Fast Twain Scan from a Scanner
Tutorial: Get Twain Capability
Tutorial: Using the Fast Twain Feature
Version History
Leadtools.Twain Assembly Changes