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

ViewerPrintScaling Property

Gets/Sets PDF viewer print scaling setting.

prnViewerPrintScaling ViewerPrintScaling { get; set; }



Property ViewerPrintScaling As prnViewerPrintScaling



def getViewerPrintScaling(self)
def setViewerPrintScaling(self, value)


prnViewerPrintScaling getViewerPrintScaling() throws PrinterException
void setViewerPrintScaling(prnViewerPrintScaling value) throws PrinterException


function getViewerPrintScaling() 
function setViewerPrintScaling($value) 


BclPrnResult GetViewerPrintScaling(BclPrinter* pPrinter,
                                   BclPrnViewerPrintScaling* poutVal);
BclPrnResult SetViewerPrintScaling(BclPrinter* pPrinter,
                                   BclPrnViewerPrintScaling newVal);
Property ViewerPrintScaling As prnViewerPrintScaling



bepprint -printScaling default|none



Type

prnViewerPrintScaling

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"