tags:

views:

15

answers:

0

Hello,

I have a business card scanner I'm using WIA 2.0 to interface with. I'm trying to set everything up in code so that I don't have to pop any dialog boxes. The issue I'm having has to do with setting the scanning page size. The scanner is about 4" wide but I can't get it to scan the right-most inch or so of it's bed. I would set the PAGE_SIZE property but I don't see that property when iterating through all the properties WIA has for that scanner (Device or Item properties).

If I pop a dialog box up (ShowSelectDialog) to select the size everything seems to work fine. I've compared the properties on the Item and Device before and after that dialog and the only properties I see changing are read-only properties according to MSDN. (Horizontal and Vertical size, extent, starting position)

Any ideas on how else I could modify the page size?