viewer.setColor()
.
viewer.setBackgroundColor()
.
viewer.setPageBorderColor()
.
viewer.setTheme()
.
viewer.setLogo()
.
viewer.setViewVisibility()
function.
For example, if you want to hide the toolbar, you can do the following:
viewer.addButton()
function.
For example, if you want to add a button to the toolbar to enter fullscreen, you can do the following:
viewer.addContextMenu()
function.
For example, if you want to add an item to rotate the page clockwise, you can do the following:
viewer.defineDocumentPanel()
function.
For example, if you want to define the document panel to show the bookmark panel as “Table of Contents” and the annotation panel as “Markups” then you can do the following:
viewer.defineAnnotSelectMenu()
function.
For example, if you want to define the annotation selection menu when selecting a highlight annotation, you can do something like the following:
viewer.openContextMenu()
function.