Click here to Skip to main content
15,886,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i draw a line on picture box
now i want to move it from one place to another
how can i do it??
Posted
Comments
BillWoodruff 19-Dec-13 3:01am    
Are you saying you want to draw a line on a PictureBox that then remains an "object," so you can move the line around within the PictureBox ? This is Windows Forms ?
gggustafson 23-Dec-13 14:15pm    
Are you doing the drawing with the mouse (i.e., holding down a mouse button; while holding down the mouse button, moving the mouse pointer; and then releasing the mouse) or are you drawing the line using endpoints defined within the program? How are you determining that the line needs to be moved?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900