WriteProtection Class
Contents
[
Hide
]WriteProtection class
Specifies write protection settings for a workbook.
type WriteProtection struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewWriteProtection | Default constructor. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetAuthor | Gets and sets the author. |
SetAuthor | Gets and sets the author. |
GetRecommendReadOnly | Indicates if the Read Only Recommended option is selected. |
SetRecommendReadOnly | Indicates if the Read Only Recommended option is selected. |
IsWriteProtected | Indicates whether this workbook is write protected. |
GetPassword | Sets the protected password to modify the file. |
SetPassword | Sets the protected password to modify the file. |
ValidatePassword | Returns true if the specified password is the same as the write-protection password the file was protected with. |