I have a business card. I am using WIA 2.0 for interoperability. I am trying to install everything in the code so that I do not need to pop up dialog boxes. The problem I have is related to setting the scan page size. The scanner is about 4 inches wide, but I can't get it to scan the right inch or so on the bed. I would set the PAGE_SIZE property, but I do not see this property when repeating all the properties that WIA has for this scanner (device or element properties).
If I pulled up the dialog box ( ShowSelectDialog ) to select the size, everything seems to work fine. I compared the properties of an element and a device before and after this dialog, and the only properties that I see are read-only changes according to MSDN. (Horizontal and vertical size, length, starting position)
Any ideas on how else I could resize the page?
source
share