readonly parameter

The readonly parameter may be used to query or set if the document can be edited with the current view.

Availability

query command
set command

Scope

The current view.

Syntax

query readonly
set readonly { on | off }

Parameters

on Use the on parameter to indicate that the document should be protected from changes through the current document view.
off Use the off parameter to indicate that the document may be changed through the current document view.

Examples

query readonly
set readonly on 


query command
set command