Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.11/5 (2 votes)
See more:
Where can i find sample of code to draw line just like in Autocad? If you touch the line, you can move it, if you touch first and last point, you can change the location of bouth points. Less code as possible to achieve this.
Posted

1 solution

 
Share this answer
 
v2
Comments
Member 4347041 2-Sep-13 15:07pm    
You did not understand me. Nothing to have with AutoCAD. Draw on a panel in my app, but the line must have the same characteristics as line in autocad. How to move line, grab first and last point,...
Nelek 2-Sep-13 15:10pm    
You can take a look in the API, see how they do them and programm it on your own, or not?

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