WIA (Windows Image Acquisition). Argument Exception on CommonDialog.ShowTransfer(...)

1.3k Views Asked by At

I use WIA to acquire images using scanners. Some users report an Argument Exception thrown by the method

img = dialog.ShowTransfer(_device.Items(1), WIA.FormatID.wiaFormatTIFF, False)

I can't reproduce the Exception on my computer with my scanner, and I couldn't find any documentation on this problem. Why is the exception raised?

I modify some device properties (such as Brightness and Resolution) in the code before calling the method, but no error is thrown in the process.

Has anyone had this problem? How would you solve it?

0

There are 0 best solutions below