Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Print problem with zoom implementation (Read 2419 times)
binoo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Dec 20th, 2009
Print problem with zoom implementation
Dec 20th, 2009 at 11:18pm
Print Post  
Hi,
First of all sorry for my english... Undecided

When I apply a zoom on my diagram, the print preview is out.

An exemple, on your project FlowCharter, I add MouseWheel event to implement the zoom :

Code
Select All
private void diagram_MouseWheel(object sender, MouseWheelEventArgs e){
  Diagram diag = sender as Diagram;
  diag.ZoomFactor += (e.Delta / 20);
} 



When you run the application, if you add nodes that make a preview with 2 pages, then if you zoom down, the preview will stay with two pages even if all the nodes are on the first page.

The problem is similar when you increase the zoom : Only two pages and the digram is not complete.

I work with the 2.2.1 version.

Have you got a solution for my problem ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print problem with zoom implementation
Reply #1 - Dec 23rd, 2009 at 9:07am
Print Post  
Hi,

Try this version -
https://mindfusion.eu/_beta/wpfdiag23_print.zip

Now the print output should not depend on the diagram's zoom factor. If you still need to scale the printed diagram, you can do so by setting the diagram.PrintOptions.Scale. The number of pages should now correctly match the scale.

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


I love YaBB 1G - SP1!

Posts: 12
Joined: Dec 20th, 2009
Re: Print problem with zoom implementation
Reply #2 - Dec 24th, 2009 at 9:30am
Print Post  
Thank you ! The number of pages is correct.

I appreciate your reactivity ! Smiley

Now, what I have to do is to wait the future "no beta" version.

Thanks.

ps: Maybe you know when you release the future version ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print problem with zoom implementation
Reply #3 - Dec 24th, 2009 at 10:26am
Print Post  
Hi

We plan to release it the first week of January.

Stoyan
  
Back to top
 
IP Logged
 
binoo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Dec 20th, 2009
Re: Print problem with zoom implementation
Reply #4 - Dec 24th, 2009 at 10:28am
Print Post  
Great !
Thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint