Anyone familiar with TwainDotNet ?

Hi guys,

I’m trying to figure out how to use twaindotnet.

My goal is to be able to switch from one scanner to another without using the GUI.

I’m having trouble selecting the source.

I’m currently trying to understand the whole thing, but I’m stuck right in the beginning.

public static void testTwain() { Twain tw; tw = new Twain(); tw.SelectSource(); //.SelectSource(); } 

The part with tw = new Twain(); requires a IWindowsMessageHook, but I don’t know how to use it.

Thanks for the help. 🙂

submitted by /u/Clebam
[link] [comments]

Leave a Reply