system.drawing.brushes.class - hex color

  • Thread starter Thread starter freshman
  • Start date Start date
F

freshman

Does anybody know if it is possoble to use a color that is not a class member?
I had a go using the following.....

Dim MyTextColor as Color
MyTextColor = ColorConverter.ConvertFrom(#666666)
ColorConverter.ConvertTo(System.Drawing.Brushes)
objGraphics.DrawString(MyTextLabel, objFont, Brushes.MyTextColor, 0, 4)


hopefully this is not too wide of the mark.
Any help would be much appreciated
 

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