bug with color ?

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

Color.FromArgb(0x000000) gives me a white color whereas I expected a black
one, isn't it ?
 
The first byte represents the transparency (although this is not supported
in .NETCF) so you should use:-
Color.FromArgb(0xff000000)
For opaque black

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top