SetEditingRestrictions

SetEditingRestrictions(restrictions)

Sets the document editing restrictions.

Parameters:

Name Type Description
restrictions DocumentEditingRestrictions

The document editing restrictions.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod("SetEditingRestrictions", ["readOnly"]);