When you print, the PrintPage event provides a PageSettings object. You can
specify landscape printing there.
See the PageSettings class.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Bill Burke" <Bi*******@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
I have created a "Certificate of Completion" in C# .net and have a typical
problem of not being able to print this in landscape mode without user
intervention. The certificate is a web user control as it gets information
to
complete the certificate (userName, date, course) from the SQl database. 2
Questions:
1. Can I rotate the user control somehow 90 degress and place it in a
hidden
frame? and print it in protrait mode?
2. Does anyone have an idea how to accomplish this?
Thanks..............