readonly parameter

Use the readonly parameter to set or query whether 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 

Related reference
query command
set command