Help with Landscape printing solution?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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..............
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top