Question Selecting a drawing object

sankalpsonik

New member
Joined
Oct 12, 2017
Messages
3
Programming Experience
Beginner
Hi,

I have drawn some lines using Drawline in vb.net. I would like to select a particular line with mouse click and then move or rotate it. Please suggest
 
I think you should look for drawing examples using GraphicsPath class. Its IsOutlineVisible method allows to see if a mouse point hits the line.
 
Back
Top