Loading...

Landscape setting

Discussions about document printing in GdPicture.NET using GdPictureImaging.

Landscape setting

Postby atome » Thu Oct 29, 2009 6:43 pm

Hi!

I would like to print a EMF file with viewer.PrintDialogFit method because user can sets some options.
But it is a good idea to set paper orientation before user can select other options according with document dimensions.
When user prints a landscape file and the default printer has portrait paper orientation (as default) I would like to set landscape orientation automatically.
If user changes the printer all options should be reset to defaults one.
I tryed to use viewer.PrintSetOrientation(GdPicture.PrinterOrientation.PrinterOrientationPortrait) but with viewer.PrintDialogFit function does not work (with viewer.PrintDialog it works correctly!).
How can I reach my goal?

Thanks.
Alessandro
atome
 
Posts: 8
Joined: Thu Oct 29, 2009 5:51 pm
Location: Italy

Re: Landscape setting

Postby Loïc » Sat Oct 31, 2009 12:19 pm

Hi,

When you show a printing option dialog using the PrintDialog method you can't setup any parameter by code. All choices can be done only by the user.

The only way to reach your goal is to provide your own printing dialog box.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Document Printing

Who is online

Users browsing this forum: No registered users and 1 guest