I have a picturebox called picWindow and I am currently assigning a image to the picturebox, which works fine. The problem I have is that I need to be able to add lines, boxes etc. to the image, and preferrably be able to identify the entities (lines etc.) so that they can either be modified or deleted without having to erase (rub-out) the lines etc. and the image on which they have been placed. Has anyone got an example in vb.net or a link that covers this??
This is the code that I am using to assign the image to the picturebox:
Cheers
Simon
This is the code that I am using to assign the image to the picturebox:
Code:
Dim path As String = "c:\temp\pic\image.bmp"
Me.picWindow.SizeMode = PictureBoxSizeMode.AutoSize
Me.picWindow.Image = Image.FromFile(path)
Dim g As Graphics
g = Me.picWindow.CreateGraphics
Cheers
Simon