| 
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
Syntax
 
 
public bool UnWriteProtection(
	string password
)
 
Public Function UnWriteProtection ( 
	password As String
) As Boolean
 
public:
bool UnWriteProtection(
	String^ password
)
 
member UnWriteProtection : 
password : string -> bool 
 
 
 
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
See Also