Hi,
Is there a BUG in the printdialog ? When I create a PrintDialog ans set the "DefaultPageSettings.Landscape" property to "false" and then display the dialog, select "Landscape" and click OK, the value of the "DefaultPageSettings.Landscape" is still false !!??
Code Exemple :
PrintDialog PDialog = new PrintDialog();
PDialog.PrinterSettings = new System.Drawing.Printing.PrinterSettings();
PDialog.PrinterSettings.DefaultPageSettings.Landsc ape=false;
PDialog.ShowDialog();
// The dialog show "Portrait" Selected, if you select "Landscape" and click OK
// the value in the "DefaultPageSettings" is still Landscape=false !!??
MessageBox.Show(PDialog.PrinterSettings.DefaultPag eSettings.Landscape.ToString());
Any Bug in/con-firmation and solution to make it work will be appreciated
Thanks
Steph.
--
__________________________________________________ ____________
Stephane Orban
IT Manager
EOLE-UNICLAM
EMail : in**********@uniclam.com
Web : www.uniclam.com
Tel : +32 (0) 2 227 54 98
Fax : +32(0) 2 218 74 60