Solved

Drawing on segments of parallel lines?

Posted on 2013-05-16
1
249 Views
Last Modified: 2013-05-22
Hi everyone, I have this scenario:

I have two parallel lines and it has segments. Suppose these are P1 & P2. And, I have an option to put the tag any where.If I select any segment from p1 then i am able to create the graphic for it by using mouse event arguments.   Now, here is the condition, the same segment of the p2 should create the graphich when i create on p1.    Is there any way i can achieve this? Can any expert guide me or give me their ideas. Thanks
0
Comment
Question by:developer2012
1 Comment
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 39176178
I imagine you'd need to compute a perpendicular line between the point and your two parallel lines:
http://stackoverflow.com/questions/1811549/perpendicular-on-a-line-from-a-given-point

Do you have any existing code to show us?...that might help.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Close form "before" open 3 40
Javascript to set controls visibility 5 34
ASP.NET MVC 2 31
Latest thoughts on C# utilizing Mono on Linux vs .NET on Windows? 5 26
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question