| 
Document
SetWriteProtection Method (String)
  | 
 Sets the write protection for a document using the provided password.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public void SetWriteProtection(
	string password
)
 
Public Sub SetWriteProtection ( 
	password As String
)
 
public:
void SetWriteProtection(
	String^ password
)
 
member SetWriteProtection : 
password : string -> unit 
 
 
 
Parameters
 
- 
password
 
- 
 Type:
 
System
String
 
 The password to set for write protection.
 
 See Also
See Also