For pointers to sample programs that demonstrate many features, see the table below:
.NET
Redistributables Paths
Path
Target Platform
\Bin\net
.NET 6+
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
Sample Programs
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
Fast TWAIN
\Examples\Scanning\DotNet\FastTwainDemo\net
\Bin\net\FastTwainDemo_Original.exe
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.
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
TWAIN
\Examples\Scanning\DotNet\TwainDemo\net
\Bin\net\TwainDemo_Original.exe
Demonstrates TWAIN scanning features. Select TWAIN source Acquire images from TWAIN sources Display images acquired from TWAIN sources Save images acquired from TWAIN sources
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
TWAIN High Level
\Examples\Scanning\DotNet\TwainHighDemo\net
\Bin\net\TwainHighDemo_Original.exe
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
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
TWAIN Multi-Page
\Examples\Scanning\DotNet\TwainMultipageDemo\net
\Bin\net\TwainMultiPageDemo_Original.exe
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
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.
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
WIA
\Examples\Scanning\DotNet\WiaDemo\net
\Bin\net\WiaDemo_Original.exe
Demonstrates WIA scanning features. Select WIA source Acquire images from WIA sources Display images acquired from WIA sources Save images acquired from WIA sources
Demo Name
Source Code Path
Description
Leadtools.WebScanning.Plugin
\Examples\Scanning\DotNet\WebScanning.Plugin\net
ActiveX plugin for Internet Explorer to start Leadtools.WebScanning.Host application. This plugin is registered in WebScanning MSI installation process.
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
Leadtools.WebScanning.Host
\Examples\Scanning\DotNet\WebScanning.Host\net
\Bin\net\Leadtools.WebScanning.Host_Original.exe
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.
.NET Framework
Redistributables Paths
Path
Target Platform
\Bin\DotNet4\Win32
x86 .NET 4 or 4.5
\Bin\DotNet4\x64
x64 .NET 4 or 4.5
Assembly - Class/Namespace
Comments
Leadtools.Twain.DLL - Leadtools.Twain
The Leadtools.Twain namespace provides support for TWAIN scanning functionality.
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.
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
TWAIN
\Examples\Scanning\DotNet\TwainDemo\fx
\Bin\DotNet4\<Win32/x64>\TwainDemo_Original.exe
Demonstrates TWAIN scanning features. Select TWAIN source Acquire images from TWAIN sources Display images acquired from TWAIN sources Save images acquired from TWAIN sources
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
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.
Demo Name
Source Code Path
Pre-Compiled Executable Path
Description
WIA
\Examples\Scanning\DotNet\WiaDemo\fx
\Bin\DotNet4\<Win32/x64>\WiaDemo_Original.exe
Demonstrates WIA scanning features. Select WIA source Acquire images from WIA sources Display images acquired from WIA sources Save images acquired from WIA sources
Demo Name
Source Code Path
Description
Leadtools.WebScanning.Plugin
\Examples\Scanning\DotNet\WebScanning.Plugin\fx
ActiveX plugin for Internet Explorer to start Leadtools.WebScanning.Host application. This plugin is registered in WebScanning MSI installation process.
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.