Document |
The DocumentWriteProtection type exposes the following members.
| Name | Description | |
|---|---|---|
| HasPassword | Returns true if document is protected with the password against re-saving to the same file name. | |
| ReadOnlyRecommended | Gets or sets option that specifies if applications should provide user interface recommending that the user open this document in write protected state. |
| Name | Description | |
|---|---|---|
| SetPassword | Sets the password. If password is or empty, any existing password will be cleared. |