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

ViewerPageLayout Property

Gets/Sets PDF viewer page layout setting.

prnViewerPageLayout ViewerPageLayout { get; set; }



Property ViewerPageLayout As prnViewerPageLayout



def getViewerPageLayout(self)
def setViewerPageLayout(self, value)


prnViewerPageLayout getViewerPageLayout() throws PrinterException
void setViewerPageLayout(prnViewerPageLayout value) throws PrinterException


function getViewerPageLayout() 
function setViewerPageLayout($value) 


BclPrnResult GetViewerPageLayout(BclPrinter* pPrinter,
                                 BclPrnViewerPageLayout* poutVal);
BclPrnResult SetViewerPageLayout(BclPrinter* pPrinter,
                                 BclPrnViewerPageLayout newVal);
Property ViewerPageLayout As prnViewerPageLayout



bepprint -pageLayout default|single|continuous|facing|continuousFacing



Type

prnViewerPageLayout

Remarks

N/A.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PrintJob
Set oPDFSetting = oPrintJob.PDFSetting

oPDFSetting.ViewerHideMenuBar = True
oPDFSetting.ViewerHideToolBar = True
oPDFSetting.ViewerHideWinControls = True
oPDFSetting.ViewerMagnification = PRN_VIEWER_MAGNIFICATION_FITPAGE
oPDFSetting.ViewerPageLayout = PRN_VIEWER_PAGE_LAYOUT_CONTINUOUS_FACING
oPDFSetting.ViewerPanel = PRN_VIEWER_PANEL_PAGES
oPDFSetting.ViewerPrintScaling = PRN_VIEWER_PRINT_SCALING_NONE

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