write_restricted
Returns a Boolean value that indicates whether there is a write restriction on the document. KeyView reports that a document is write-restricted if there exists any restriction, enforced by a password, on modifying the document contents. For example, a DOCX file that permits only Tracked Changes is considered write-restricted.
Syntax
bool write_restricted() const;