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: 19.9.0.0 (19.9)
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(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