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

PaperOrientation Property

Sets paper orientation.

prnPaperOrientation PaperOrientation { set; }

Property PaperOrientation As prnPaperOrientation ' WriteOnly

def setPaperOrientation(self, value)

void setPaperOrientation(prnPaperOrientation value) throws PrinterException

function setPaperOrientation($value) 

BclPrnResult SetPaperOrientation(BclPrinter* pPrinter,
                                 BclPrnPaperOrientation newVal);
Property PaperOrientation As prnPaperOrientation ' WriteOnly

bepprint +Visio -orientation portrait|landscape

Type

prnPaperOrientation (write-only)

Remarks

N/A.

Example Usage

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

Set oPrintJob = oPrinter.VisioPrintJob
oPrintJob.PaperOrientation = PRN_PAPER_ORIENT_LANDSCAPE

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