setEditable(isEditable)

Use this method so that documents can be opened in document builder mode as read-only.


Applicable from 5.0.9

If you set the setEditable() method to false, the following document builder actions cannot be available:
  • Cut, Copy, Paste and Build buttons.
  • The JavaScript methods:
    • Cut()
    • Copy()
    • Paste()
    • Move()
    • AddDocumentPage()
    • DeleteDocumentPage()
    • Commit()
  • The keyboard Shortcuts Ctrl + C, Crtl + X and Ctrl + V.
  • Drag and drop.
  • Page rotation: you can still rotate pages for viewing purposes but the action is not applied to the document.


If you call this method with a value of false, the method does not have any effect if the document already has unsaved document builder actions applied.

Sample syntax

ViewONE.setEditable(true);