Knowledgebase: Developer
Programatically create landscape PDF
Posted by admin admin on 22 November 2006 07:56 PM
Problem:
How do I programatically create a landscape PDF?

Solution:
If you're using Visual Basic, you can use the Orientation property of the Printer object to set landscape as in:
'set landscape orientation
Printer.Orientation = vbPRORLandscape
 
If you're using the Windows API, you can use the DEVMODE structure as described in knowledgebase article Q167345 available at:
http://support.microsoft.com/kb/q167345/
(0 vote(s))
Helpful
Not helpful

Comments (0)

Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map