Shading with PInvoke

Announcements and discussion for PInvoke

Shading with PInvoke

Postby sirithvasa » Tue Apr 24, 2007 2:23 pm

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
sirithvasa
 
Posts: 2
Joined: Tue Apr 24, 2007 2:16 pm

Postby Dave Mellors » Fri May 18, 2007 1:27 pm

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
Dave Mellors
 
Posts: 31
Joined: Thu Feb 01, 2007 6:03 pm

Postby sirithvasa » Tue Jun 19, 2007 9:30 am

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
sirithvasa
 
Posts: 2
Joined: Tue Apr 24, 2007 2:16 pm


Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests