Table of Contents

Class WriteProtection

Namespace
Spire.Xls.Core.Spreadsheet
Assembly
Spire.XLS.dll
public class WriteProtection
Inheritance
WriteProtection
Inherited Members

Constructors

WriteProtection(XlsWorkbook)

public WriteProtection(XlsWorkbook workbook)

Parameters

workbook XlsWorkbook

Properties

Author

Gets and sets the author.

public string Author { get; set; }

Property Value

string

IsWriteProtected

Gets whether this workbook is write protected.

public bool IsWriteProtected { get; }

Property Value

bool

Password

Sets the protected password to modify the file.

public string Password { set; }

Property Value

string

RecommendReadOnly

Gets or sets whether the Read Only Recommended option is selected.

public bool RecommendReadOnly { get; set; }

Property Value

bool