Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Drag Drop when zoomedin/out (Read 2764 times)
Gautham
YaBB Newbies
*
Offline



Posts: 3
Joined: Apr 26th, 2012
Drag Drop when zoomedin/out
Apr 26th, 2012 at 10:33am
Print Post  
Hi,
I'm using version 2.0.0.21207 of mind fusion diagram, i've have a problem when adding items to the diagram when the diagram is zoomed in/out. These items are getting added by draging and droping from another control. The problem is that the positions of the items are offset from the original drop position, depending on the zoom factor.

This can be reproduced in the sample bundled with mind fusion silverlight installer "Drag Drop", by changing the zoom factor of the target diagram. And also by the sample attached here (but done using rad drag drop manager). Is there any work around for this ?

Thanks
Gautham
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Drag Drop when zoomedin/out
Reply #1 - Apr 26th, 2012 at 11:46am
Print Post  
Hi,

It should work correctly with a zoomed diagram if you use MouseEventsArgs.GetPosition(diagram.documentPlane) instead of MouseEventsArgs.GetPosition(diagram).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Gautham
YaBB Newbies
*
Offline



Posts: 3
Joined: Apr 26th, 2012
Re: Drag Drop when zoomedin/out
Reply #2 - May 15th, 2012 at 12:53pm
Print Post  
Thanks it works
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint