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

ViewerHideToolBar Property

Gets/Sets the flag that indicates whether to hide tool bar from the PDF viewer.

Type

Boolean

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"