When i use the windows's scan program,select the KV-S5058 #2(WIA),it can use the 150DPI,and auto detect the paper size. but the ImageEnMView can not. how can i use ImageEnMView to detect the paper size and set the 150dpi. Thanks.
Those values are returned from the WIA driver using the WIA_IPS_XRES and WIA_IPS_YRES properties. I'm not sure where the Windows scanner is gettings its values.
Have you tried the WIA Scanner demo to see what info is returned for that device?
We've tested on our scanners as follows: - acquire from scanner using a WIA driver: Works correctly - acquire from scanner using a WIA driver, setting DPI at 150 or 200: Works correctly with the resulting image size correct