WriteProtection Constructor
|
Initializes a new instance of the WriteProtection class with the specified XlsWorkbook.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public WriteProtection(
XlsWorkbook workbook
)
Public Sub New (
workbook As XlsWorkbook
)
public:
WriteProtection(
XlsWorkbook^ workbook
)
new :
workbook : XlsWorkbook -> WriteProtection
Parameters
-
workbook
-
Type:
Spire.Xls.Core.Spreadsheet
XlsWorkbook
The XlsWorkbook for which write protection is to be applied.
Return Value
Type:
An instance of the WriteProtection class.
See Also