Landscape setting
Posted: 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.
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.