PicoXLSX Library Documentation
WorksheetSetSheetProtectionPassword Method |
Sets or removes the password for worksheet protection. If set, UseSheetProtection will be also set to true
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public void SetSheetProtectionPassword( string password )
Parameters
- password
- Type: SystemString
Password (UTF-8) to protect the worksheet. If the password is null or empty, no password will be used
See Also