Click or drag to resize
DocumentProtectionSetPassword Method
Sets the password. If password is or empty, any existing password will be cleared.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public void SetPassword(
	string password
)

Parameters

password
Type: SystemString
The password.
See Also