 | WorksheetSetSheetProtectionPassword Method |
Sets or removes the password for worksheet protection. If set, UseSheetProtection will be also set to true
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic void SetSheetProtectionPassword(
string password
)
Parameters
- password String
- Password (UTF-8) to protect the worksheet. If the password is null or empty, no password will be used
See Also