Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, January 19, 2018 4:21:18 PM(UTC)
Anthony Northrup

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.

File Attachment(s):
Simple Scan - Wia.zip (5kb) downloaded 136 time(s).

Edited by moderator Thursday, December 6, 2018 2:21:38 PM(UTC)  | Reason: Not specified

Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.062 seconds.