Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Query. (Read 1609 times)
Anant_Shukla
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 36
Joined: Mar 16th, 2009
Query.
Mar 24th, 2009 at 5:57am
Print Post  
Hi,

I have multiple items placed on my diagram and when I call "ZoomToFit()" method for the diagram then the diagram resizes itself to fit all the items but in the process it shrinks and leaves the container bounds which is not desired.

Is there any way so the items get zoomed out inorder to fit into the visible area of the diagram so that the diagram do not get resized and always fits to the containers area or bounds.

Thanks and regards,
Anant Shukla.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Query.
Reply #1 - Mar 24th, 2009 at 6:25pm
Print Post  
At this time this depends only on Diagram.Bounds, so after zooming you will have to update the width and height of Bounds to match the actual width and height of the ScrollViewer, as in your MouseWheel handler.

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