i want to put some text over an image, in vb6 i would have just used a label, but labels in .net cant have proper transparency for some reason, i have serched this forum and the only solution is to draw the text on, i have used the following code but the text appers with sight colour round the side the colour changes depending on what part of the text it is. i have seen this happen below with xp's true type and transparency, is this whats causing it and can it be stopped??
Code:Dim g As Graphics = PictureBox1.CreateGraphics Dim mybrush As New SolidBrush(Color.Black) Dim myFont As New Font("Microsoft Sans Serif", 8.5, FontStyle.Regular, GraphicsUnit.Point, 5) g.DrawString(message, myFont, mybrush, 10, 30) g.DrawString(stext, myFont, mybrush, 10, 40)




Reply With Quote