i want to add text on the picture
i have three forms
form1 for opening picture
form2 for displaying and this contains one picturebox
form3 for add text
form3 has a button and a text field
i enter the text in text field and press the button but text is not added
code for adding text
plz tell me where i m wrongCode:Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim addText As String addText = txtAdd.Text Form2.PictureBox1.CreateGraphics.DrawString(addText, New Font("Arial", FontStyle.Bold), Brushes.Black, 10, 25) Form2.PictureBox1.Refresh() Me.Close() End Sub
see the attachment also
thanks




Reply With Quote