?
Solved

VisualBasic PowerPacks PrintForm

Posted on 2008-10-30
3
Medium Priority
?
389 Views
Last Modified: 2008-10-30
I have a form that I want to print using a button.  I have the form printing great using the VisualBasic PowerPacks PrintForm component, however I cant seem to get the form to print out in
landscape orientation
I have gone into the printersettings component and tried using the "LandscapeAngle" item and just cant get it to work.  Any ideas would be appreciated
0
Comment
Question by:H-SC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
kdwood earned 2000 total points
ID: 22843538
Use this syntax and you should be all set.

PrintForm1.PrinterSettings.DefaultPageSettings.Landscape = True

Regards,

Keith
0
 
LVL 1

Author Comment

by:H-SC
ID: 22843620
Keith,

many thanks..!!
this little item completed my project
0
 
LVL 10

Expert Comment

by:kdwood
ID: 22843629
My pleasure!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question