Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

VisualBasic PowerPacks PrintForm

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
H-SC
Asked:
H-SC
  • 2
1 Solution
 
kdwoodCommented:
Use this syntax and you should be all set.

PrintForm1.PrinterSettings.DefaultPageSettings.Landscape = True

Regards,

Keith
0
 
H-SCAuthor Commented:
Keith,

many thanks..!!
this little item completed my project
0
 
kdwoodCommented:
My pleasure!
0

Featured Post

Industry Leaders: 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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now