BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

PaperOrientation Property

Sets paper orientation.

Type

prnPaperOrientation (write-only)

Remarks

N/A.

Example Usage

'VB Sample Code

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

Set oPrintJob = oPrinter.IEPrintJob
oPrintJob.PaperOrientation = PRN_PAPER_ORIENT_LANDSCAPE

oPrintJob.PrintOut "C:\test\input.doc", "C:\test\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:\test\output.pdf");