Click or drag to resize

Document UnWriteProtection Method (String)

Attempts to remove the write protection from a document by validating the provided password and, if valid, clearing the password and disabling the read-only recommendation.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public bool UnWriteProtection(
	string password
)

Parameters

password
Type: System String
The password used for write protection.

Return Value

Type: Boolean
True if the password is valid and the write protection was successfully removed, otherwise false.
See Also