Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PageSetup / printer settings (Read 2195 times)
craigsimons
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Oct 17th, 2005
PageSetup / printer settings
Oct 18th, 2005 at 6:49pm
Print Post  
I am having trouble setting up printing for my flowchart. It's quite easy to use the printpreviewex() method, however this dialog does not allow me to modify printer settings (most importantly page size).  Are there any examples or strategies you can point me to to allow the user to use the PageSetup dialog and printpreviewex()? My end goal is to allow a user to print to 11x17 paper and have the flowchart scale to this size.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PageSetup / printer settings
Reply #1 - Oct 19th, 2005 at 4:51am
Print Post  
At this time the flowchart's print preview window does not provide UI features to change the page size.

You can still let users setup the page size using .NET PageSetupDialog. Then pass to the PrintPreviewEx method a PrintDocument instance whose DefaultPageSettings are copied from a PageSetupDialog.PageSettings. E.g.

PrintDocument pd = new PrintDocument();
pd.DefaultPageSettings = pageSetup.PageSettings;
fc.PrintPreviewEx(pd);
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint