WorksheetProtection Constructor (WorksheetProtectionType, String)
Creates new instance with specified worksheet protection type and password

Namespace: GroupDocs.Editor.Options
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntax
public WorksheetProtection(
	WorksheetProtectionType protectionType,
	string password
)

Parameters

protectionType
Type: GroupDocs.Editor.OptionsWorksheetProtectionType
Type of worksheet protection
password
Type: SystemString
Password, that locks the protection
See Also