Solved

Drawing on segments of parallel lines?

Posted on 2013-05-16
1
246 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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 …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now