Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Zoom in Zoom out function (Read 2091 times)
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
Zoom in Zoom out function
Oct 25th, 2013 at 12:32pm
Print Post  

Hi Stoyan,

Do you happen to know if it's possible to have an zoom in and zoom out function in a diagram field. And if so, could you give an example?

Greets,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Zoom in Zoom out function
Reply #1 - Oct 25th, 2013 at 1:23pm
Print Post  
Hi,

The Diagram class has ZoomIn, ZoomOut methods, and a ZoomFactor property. You could zoom from a MouseWheel handler as shown in http://mindfusion.eu/Forum/YaBB.pl?num=1254319530

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
Re: Zoom in Zoom out function
Reply #2 - Oct 28th, 2013 at 9:43am
Print Post  
Hi,

It works, thanks!

Greets,

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