Class ExcelProtectedRange
A protected range in a worksheet ExcelProtection ExcelSheetProtection ExcelEncryption
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelProtectedRange : XmlHelper
Properties
Address
The address of the protected range
Declaration
public ExcelAddress Address { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelAddress |
Name
The name of the protected range
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
SecurityDescriptor
The security descriptor defines user accounts who may edit this range without providing a password to access the range.
Declaration
public string SecurityDescriptor { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
SetPassword(String)
Sets the password for the range
Declaration
public void SetPassword(string password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | password | The password used to generete the hash |