I get the same on 1.1 SP1
Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<OI**************@TK2MSFTNGP10.phx.gbl>
Steph,
That's the way my test worked here with Framework 1.1. I haven't put
the new service pack in yet as some people are reporting problems with
security settings with working applications after this. The service pack
may fix it though.
I was out all day yesterday so didn't reply. You may get better
response on printing issues in microsoft.public.dotnet.framework.drawing
though.
Ron Allen
"Steph." <st***@nomail.com> wrote in message
news:u5**************@TK2MSFTNGP11.phx.gbl...
mmmm....No reply to a so simple question with a clear code example mean :
"Yes There is a Bug in the PrintDialog"... And the workaround is : "There is
no workaround... no source code so you can't correct it yourself... If you
are Lucky it will maybe corrected in the next version. please buy it."
Thank-you steph for your self-reply, you can now stop to try to make it work
because it's impossible. Sure, you can add a PageSetupDialog to do this,
your end-users will be happy to spend their days clicking on various dialogs
and to remember that, contrary to all other softwares, they can't use the
Page Orientation of the common PrintDialog in your new software. And since
end users are expert in computer and software they will understand and never
foguet that "special feature" and you wont have thousand of calls a day to
ask you "How can I print in Landscae ? I choose Landscape but it doesn't
work."
Anyway, have a good day telling your boss that he have to buy the next VS
.Net to HOPE to have things working correctly..
Steph.
"Steph." <st***@nomail.com> wrote in message
news:uL**************@TK2MSFTNGP11.phx.gbl...
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.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004
[microsoft.public.dotnet.languages.csharp]