API Reference
Class
ExcelWorkbookProtectionOptions
Options used when protecting the workbook structure.
Inheritance
- Object
- ExcelWorkbookProtectionOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Constructors
public ExcelWorkbookProtectionOptions() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Boolean ProtectStructure { get; set; } #Protects the workbook structure, which prevents sheet add/delete/move/rename operations in Excel UI.
public Boolean ProtectWindows { get; set; } #Protects workbook windows where supported by the consuming application.
public String Password { get; set; } #Optional workbook protection password. This is Excel UI protection, not package encryption.
public String LegacyPasswordHash { get; set; } #Optional precomputed legacy workbook protection hash. When set, this value is written as-is.