Code:
Public Sub DString(ByVal p As PictureBox)
Dim imageRect As Rectangle = New Rectangle(0, 0, p.Image.Width, p.Image.Height)
Dim G1 As Graphics
G1 = p.CreateGraphics
G1.DrawString("hola", New Font("Verdana", 24), Brushes.Black, p.Width / 2, p.Height / 2)
End Sub
this code draw string on the picture box it self .
How I can draw the string to the image inside the picture box control and save the image with string .
thank you ..