[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Drawing on segments of parallel lines?

Posted on 2013-05-16
1
Medium Priority
?
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 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