0

I realize there are a lot of questions out there about WIA scanning in C#, but there aren't as many related to Silverlight. I've been following through some code here: http://ithoughthecamewithyou.com/post/Scanning-from-the-ADF-using-WIA-in-C.aspx And I understand what's going on, except that I don't understand where the "Device", "Item", "Property" data types are coming from. No one seems to include their using statements, and being new to C# and silverlight, I'm confused.

I found another question here: WIA Scanning via Feeder that also uses those data types, but I still can't seem to figure out why when I try to use them they can't be found anywhere in the namespace.

Any help would be greatly appreciated.

Community
  • 1
  • 1
jrble819
  • 119
  • 1
  • 9

1 Answers1

0

I'm not aware of any (free) Silverlight assembly that you can reference in order to talk to WIA. You can make use of the COM objects WIA provides, by using COM Automation. Pete Brown has written a very helpful article showing how to do this. I've also blogged about my experiences with writing a Silverlight app that uses WIA to talk to a scanner that has a document feeder.

Andrew
  • 895
  • 5
  • 17