PaperOrientation Property

Sets paper orientation.


Type: prnPaperOrientation (write-only)

Remarks

Excel does not use the paper orientation setting from printer driver. If you need to change the paper orientation, use this property instead.

Example Usage


Set oPrinter = CreateObject("easyPDF.Printer.5")

Set oPrintJob = oPrinter.ExcelPrintJob
oPrintJob.PaperOrientation = PRN_PAPER_ORIENT_LANDSCAPE

oPrintJob.PrintOut "C:\input.vsd", "C:\output.pdf"

 

 

<<