WriteProtection Class

Specifies write protection settings for a workbook.
Inheritance Hierarchy
SystemObject
  Aspose.CellsWriteProtection

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.3.0.0 (20.3)
Syntax
public class WriteProtection

The WriteProtection type exposes the following members.

Constructors
  NameDescription
Public methodWriteProtection
Initializes a new instance of the WriteProtection class
Properties
  NameDescription
Public propertyAuthor
Gets and sets the author.
Public propertyIsWriteProtected
Indicates whether this workbook is write protected.
Public propertyPassword
Sets the protected password to modify the file.
Public propertyRecommendReadOnly
Indicates if the Read Only Recommended option is selected.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidatePassword
Returns true if the specified password is the same as the write-protection password the file was protected with.
See Also