ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 WIA_DPS_PAD_COLOR

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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