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
 
Back
Top