Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram link control points (Read 3730 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Diagram link control points
Sep 3rd, 2009 at 10:49am
Print Post  
Hi

I am using diagram control in my silverlight application where two nodes are conntected with each other. The "DiagramLink" established between these two nodes have controls points collection. Now when user double clicks on the diagram link, I want to insert another control point on the location where it is clicked.

The position on line segment where i click i want to insert new control point. I am able to insert the point properly only when the link between the nodes is vertical or horizontal.

When there are more than 4-5 controlpoints collection and I click on the line segment ( say line between control point 5 & 6 ) I am not able to insert the point position properly in the collection and it gets inserted between second-last and last control point.

Can anyone help me to find out the exact segement line on which mouse is clicked so, new point gets inserted between these two points.

Thanks in advance.
-Rajesh

  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram link control points
Reply #1 - Sep 3rd, 2009 at 3:01pm
Print Post  
Hi,

We have added a GetNearestSegment(Point) method to DiagramLink:
https://mindfusion.eu/_beta/diaglite_GetNearestSegment.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Re: Diagram link control points
Reply #2 - Oct 9th, 2009 at 11:27am
Print Post  
Hi

We recently purchased the Diagramlite control. With the licenced copy received, I am not able to compile our application since it doesn't contain the "GetNearestSegment" function.

Where can I get lincened dll copy having the "GetNearestSegment" function.

Regards
Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram link control points
Reply #3 - Oct 9th, 2009 at 7:13pm
Print Post  
You will receive it with the version 1.2 upgrade in a couple of weeks. If it's urgent, we can send you our latest build.
  
Back to top
 
IP Logged
 
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Re: Diagram link control points
Reply #4 - Oct 12th, 2009 at 8:52am
Print Post  
Hi

I need the licenced copy on urgent basis.

Can you send me the licecened copy on my email address.

My email address is rajesh_patil74@hotmail.com.

What infomration you need from my side for verification purpose ?
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram link control points
Reply #5 - Oct 12th, 2009 at 10:13am
Print Post  
Hi,

Just email your company name or order ID to support@mindfusion.eu.

Regards
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint