Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic diagram translation (Read 2381 times)
Jim li
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Jun 2nd, 2016
diagram translation
Dec 12th, 2016 at 3:54am
Print Post  
Hi,
I want to achieve the function when left mouse button press the diagram Translation (current i only can translation by scroll bar),is there any api can i use?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: diagram translation
Reply #1 - Dec 12th, 2016 at 6:31am
Print Post  
Hi,

If you want to scroll it yourself in response to mouse events, set the ScrollX and ScrollY properties of DiagramView. If you set the Behavior property to Pan, users will be able to scroll by dragging with the mouse inside the diagram canvas area. You can also change scroll position using the Overview and ZoomControl widgets, by respectively moving the tracker rectangle or clicking the arrow buttons.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Jim li
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Jun 2nd, 2016
Re: diagram translation
Reply #2 - Dec 12th, 2016 at 7:08am
Print Post  
It helps me,Thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint