Show / Hide Table of Contents

Class WorkbookProtection

Inheritance
System.Object
WorkbookProtection
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class WorkbookProtection : object

Constructors

WorkbookProtection()

Declaration
public WorkbookProtection()

Properties

LockRevision

Declaration
public bool LockRevision { get; set; }
Property Value
Type Description
System.Boolean

LockStructure

Declaration
public bool LockStructure { get; set; }
Property Value
Type Description
System.Boolean

LockWindows

Declaration
public bool LockWindows { get; set; }
Property Value
Type Description
System.Boolean

PasswordHash

Declaration
public ushort PasswordHash { get; set; }
Property Value
Type Description
System.UInt16

RevisionPassword

Declaration
public string RevisionPassword { get; set; }
Property Value
Type Description
System.String

Methods

SetPasswordHash(String)

Set the password hash from a given password.

Declaration
public void SetPasswordHash(string password)
Parameters
Type Name Description
System.String password

The password to hash

Back to top Generated by DocFX