Class ExcelProtection¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Sets protection on the workbook level ExcelEncryption ExcelSheetProtection
Inheritance¶
object ← XmlHelper ← ExcelProtection
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
LockRevision¶
Lock the workbook for revision
Property Value¶
LockStructure¶
Locks the structure,which prevents users from adding or deleting worksheets or from displaying hidden worksheets.
Property Value¶
LockWindows¶
Locks the position of the workbook window.
Property Value¶
WriteProtection¶
File sharing settings for the workbook.
Property Value¶
Methods¶
SetPassword(string)¶
Sets a password for the workbook. This does not encrypt the workbook.
Parameters¶
Password string
The password.