Class
ExcelWorkbookProtectionOptions
OfficeIMO.Excel
Options used when protecting the workbook structure.
Inheritance
- object
- ExcelWorkbookProtectionOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 1
Constructors
public ExcelWorkbookProtectionOptions() #Inherited Methods
Properties
public bool ProtectStructure { get; set; } #Protects the workbook structure, which prevents sheet add/delete/move/rename operations in Excel UI.
public bool 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.