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

ViewerMagnification Property

Gets/Sets PDF viewer page magnification setting.

prnViewerMagnification ViewerMagnification { get; set; }



Property ViewerMagnification As prnViewerMagnification



def getViewerMagnification(self)
def setViewerMagnification(self, value)


prnViewerMagnification getViewerMagnification() throws PrinterException
void setViewerMagnification(prnViewerMagnification value) throws PrinterException


function getViewerMagnification() 
function setViewerMagnification($value) 


BclPrnResult GetViewerMagnification(BclPrinter* pPrinter,
                                    BclPrnViewerMagnification* poutVal);
BclPrnResult SetViewerMagnification(BclPrinter* pPrinter,
                                    BclPrnViewerMagnification newVal);
Property ViewerMagnification As prnViewerMagnification



bepprint -magnification default|fitPage|fitWidth|fitVisible



Type

prnViewerMagnification

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"