like this ...
VB Code:
[color=blue]Dim[/color] img [color=blue]As[/color] Image = Image.FromFile("C:\tester.bmp") [color=blue]Dim[/color] grp [color=blue]As[/color] Graphics = Graphics.FromImage(img) [color=blue]With[/color] grp .DrawString("some string of text", [color=blue]New[/color] Font("Tahoma", 10, FontStyle.Bold), [color=blue]New[/color] SolidBrush(Color.Blue), 20, 20) [color=blue]End With[/color] PictureBox1.Image = img PictureBox1.Image.Save("C:\a_Bitmap.bmp")





Reply With Quote