Protects the document.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Protect(
	ProtectionType type
)
Public Sub Protect ( 
	type As ProtectionType
)
public:
virtual void Protect(
	ProtectionType type
) sealed
abstract Protect : 
        type : ProtectionType -> unit 
override Protect : 
        type : ProtectionType -> unit 

Parameters

type
ProtectionType
The type of the protection.

Implements

IDocument..::..Protect(ProtectionType)

See Also