| Author |
Message |
sirithvasa
Joined: 24 Apr 2007 Posts: 2
|
Posted: Tue Apr 24, 2007 2:23 pm Post subject: Shading with PInvoke |
|
|
Hi there,
I have a problem to shade colors with PInvoke. I have to release a printing software, which uses System.Drawing Namespace, itextDotNet and PInvoke.
With System.Drawing is was easy to shade, because I only set the alpha-value of the color. The same for itextDotNet, there it is the tint-value.
How can I set this value in PInvoke? E.q. for the color black, the shading form 0 (= white) till 100 (= black) and all value between 0 and 100 should be several grayscales.
Greets
sirithvasa |
|
| Back to top |
|
 |
Dave Mellors
Joined: 01 Feb 2007 Posts: 31
|
Posted: Fri May 18, 2007 1:27 pm Post subject: |
|
|
Thank you for posting your question on the forum. I hope someone from the pInvoke.net community will be able to answer it.
Personally, I'm not a developer and I can only really provide support for the PInvoke.net application but have you looked at the Win32 API Reference? I would hope you would be able to find the answer in there. _________________ Dave Mellors
Technical Support Engineer
Red Gate Software Ltd.
Tel US and CAN: 1-866-RED GATE
Tel World: +44 (0)870 160 0037 ext 43 |
|
| Back to top |
|
 |
sirithvasa
Joined: 24 Apr 2007 Posts: 2
|
Posted: Tue Jun 19, 2007 9:30 am Post subject: |
|
|
no sorry, that wasn't what I search.
Now I use the Sytem.Drawing Namespace, and i hope, that it will work togehter with a service |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group