setEditMode(String)

With this method, you can programmatically set the current viewer mode.

You can set the viewer mode to one of the following values:
Value Description
annotate Sets the viewer in annotation mode.
docbuilder Sets the viewer in document builder mode.
redact Sets the viewer in redaction mode.

Sample syntax

ViewONE.setEditMode('redact');