Click or drag to resize

DocumentWriteProtection Class

Represents the write protection options for the document. Supported only in DOCX format.
Inheritance Hierarchy
SystemObject
  SautinSoft.DocumentDocumentWriteProtection

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.10.24
Syntax
public sealed class DocumentWriteProtection

The DocumentWriteProtection type exposes the following members.

Properties
 NameDescription
Public propertyHasPassword Returns true if document is protected with the password against re-saving to the same file name.
Public propertyReadOnlyRecommended Gets or sets option that specifies if applications should provide user interface recommending that the user open this document in write protected state.
Top
Methods
 NameDescription
Public methodSetPassword Sets the password. If password is or empty, any existing password will be cleared.
Top
See Also