Click or drag to resize

WriteProtection Class

Represents a class that manages write protection settings for a resource.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet WriteProtection

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class WriteProtection

The WriteProtection type exposes the following members.

Constructors
Name Description
Public method WriteProtection
Initializes a new instance of the WriteProtection class with the specified XlsWorkbook.
Top
Properties
Name Description
Public property Author
Gets and sets the author.
Public property IsWriteProtected
Gets whether this workbook is write protected.
Public property Password
Sets the protected password to modify the file.
Public property RecommendReadOnly
Gets or sets whether the Read Only Recommended option is selected.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also