TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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"]);