Click or drag to resize

IDocument Protect Method (ProtectionType, String)

Protects the document.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
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.
See Also