S
Steph.
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.Landscape=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.DefaultPageSettings.Landscape.ToString());
Any Bug in/con-firmation and solution to make it work will be appreciated
Thanks
Steph.
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.Landscape=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.DefaultPageSettings.Landscape.ToString());
Any Bug in/con-firmation and solution to make it work will be appreciated
Thanks
Steph.