setPageMode

[ Function ]

public setPageMode(valueNew: 'none' | 'thumbs' | 'bookmarks' | 'attachments' | null)

This function sets a new value for the PageMode attribute.

Parameter

Name

Type

Description

newValue

'none', 'thumbs', 'bookmarks', 'attachments', null,

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

See also

Attribute getter: getPageMode

Origin: PDF Viewer

setPageMode 1:

Available from version 1.12