Home > Net >  Configure Scaling/Zoom property in WIA Scanner (C#)
Configure Scaling/Zoom property in WIA Scanner (C#)

Time:02-10

I'm new to WIA and I need to know if there is any property that can set the zoom/scaling for a scan.

I tried the following property constants:

  • WIA_DPC_ZOOM_POSITION (ID 2059)
  • WIA_IPS_XSCALING (ID 3109)
  • WIA_IPS_YSCALING (ID 3110)

I got them from the Microsoft documentation and this GitHub repository (https://github.com/tpn/winsdk-10/blob/master/Include/10.0.14393.0/um/WiaDef.h)

All of them throw an exception (HRESULT: 0x80210067) when trying to get them. So, is there any property that sets the scaling/zoom of the scan?

Thanks in advance!

CodePudding user response:

  •  Tags:  
  • Related