LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Three Simple Scanning Methods for Wia
#1
Posted
:
Friday, January 19, 2018 4:21:18 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Attached is a sample C# project that uses the Leadtools.Wia NuGet from LEADTOOLS. This project uses the WiaSession to acquire pages from a WIA version 1.0 compliant device (you can configure the project to use version 2.0) using three different methods. First it configures the file destination by modifying the WiaAcquireOptions of the WiaSession, then scans to a file directly using the AcquireToFile method. Second, it scans and uses the AcquireEvent event to save each image individually once it is acquired. In order to use the AcquirePage callback with Acquire to intercept the pages, the project first configures the properties of the scanner to transfer a RawRgb image over Memory rather than a file (which is default). Finally it scans to a default file location using the AcquireSimple method and reports the location of this file using the AcquireEvent event.
Edited by moderator Thursday, December 6, 2018 2:21:38 PM(UTC)
| Reason: Not specified
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Three Simple Scanning Methods for Wia
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.