how to trap a line in C#,its urgent.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lavanya2284
    New Member
    • Jan 2008
    • 3

    how to trap a line in C#,its urgent.

    Hello Friends,

    I am a software developer and i am unable to solve this problem,so plz help me out.

    I have drawn lines on the picture box..
    Now My Problem is how to trap those lines as i move the mouse cursor onto those line,trapping means -- i should be able to capture those points or coordinates of the line.

    Thanking You All.
    Latha.
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    I am not sure how you would handle this by manipulating pixels and the image..
    but you would have to implement the mouse move event, and if the mouse pointer points on the top of the line you are trying to trap, then raise a new event.

    Comment

    Working...