API Reference

Class

ExcelWorkbookProtectionOptions

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

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() #

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.