setPrintButtons method

Specifies whether the toolbar includes a print button.

Syntax

ViewONE.setPrintButtons(Boolean option)

A value of true includes the button in the toolbar.

Security note: This method is disabled by default unless the JavaScriptExtensions parameter is set to true.

Example


ViewONE.setPrintButtons(true);