Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 11.6.0.0 (11.6.0.5020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Protect(
	string passwordToOpen,
	bool bIsProtectWindow,
	bool bIsProtectContent
)
Public Sub Protect ( 
	passwordToOpen As String,
	bIsProtectWindow As Boolean,
	bIsProtectContent As Boolean
)
public:
void Protect(
	String^ passwordToOpen, 
	bool bIsProtectWindow, 
	bool bIsProtectContent
)
member Protect : 
        passwordToOpen : string * 
        bIsProtectWindow : bool * 
        bIsProtectContent : bool -> unit 

Parameters

passwordToOpen
String
bIsProtectWindow
Boolean
bIsProtectContent
Boolean

See Also