T O P I C R E V I E W |
Ralf |
Posted - May 03 2017 : 03:20:34 Hi,
can I change the color of areas outside the scanned paper over WIA_DPS_PAD_COLOR? And If how?
Thanks Ralf |
5 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - May 07 2017 : 19:24:57 Hi Ralf
What was the exception?
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
Ralf |
Posted - May 05 2017 : 02:31:37 Hi Nigel,
i tried that way! But the SetDevicePropertyVariant didn't except the RGBQuad as Variant.
Best Regards Ralf |
xequte |
Posted - May 04 2017 : 16:10:40 Hi Ralf
It will need to be:
WIAParams.SetDevicePropertyVariant(WIA_DPS_PAD_Color, RGBQuad);
But I have not tested this, so ensure the RGBQuad structure aligns with the MS standard.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
Ralf |
Posted - May 04 2017 : 02:52:41 Hi Nigel,
i also found the Microsoft Documentation. But i don't know how to give or set the RGBQuad with WIAParams.SetDeviceProperty(WIA_DPS_PAD_Color, RGBQuad)
Thanks Ralf |
xequte |
Posted - May 04 2017 : 01:53:12 Hi Ralf
Please see:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff551412%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
Nigel Xequte Software www.xequte.com nigel@xequte.com
|