PaperOrientation Property

Sets paper orientation.

Type

prnPaperOrientation (write-only)

Remarks

N/A.

Example Usage

'VB Sample Code

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

Set oPrintJob = oPrinter.IEPrintJob
oPrintJob.PaperOrientation = PRN_PAPER_ORIENT_LANDSCAPE

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

//C# Sample Code

PrinterClass printerObj = new PrinterClass();

IEPrintJob printJobObj = printerObj.IEPrintJob;

printJobObj.PaperOrientation = prnPaperOrientation.PRN_PAPER_ORIENT_LANDSCAPE;

printJobObj.PrintOut("http://www.pdfonline.com/", "C:\\output.pdf");