WriteProtection class

WriteProtection class

Specifies write protection settings for a workbook.

The WriteProtection type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of WriteProtection

Properties

PropertyDescription
authorGets and sets the author.
recommend_read_onlyIndicates if the Read Only Recommended option is selected.
is_write_protectedIndicates whether this workbook is write protected.

Methods

MethodDescription
validate_passwordReturns true if the specified password is the same as the write-protection password the file was protected with.

See Also