Click or drag to resize

Document Protect Method (ProtectionType, String)

Protects the document.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void Protect(
	ProtectionType type,
	string password
)

Parameters

type
Type: Spire.Doc ProtectionType
The type of the protection
password
Type: System String
The password used for protection.

Implements

IDocument Protect(ProtectionType, String)
See Also