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 ProtectWorkbook(
	bool bIsProtectWindow,
	bool bIsProtectContent,
	string password
)
Public Sub ProtectWorkbook ( 
	bIsProtectWindow As Boolean,
	bIsProtectContent As Boolean,
	password As String
)
public:
void ProtectWorkbook(
	bool bIsProtectWindow, 
	bool bIsProtectContent, 
	String^ password
)
member ProtectWorkbook : 
        bIsProtectWindow : bool * 
        bIsProtectContent : bool * 
        password : string -> unit 

Parameters

bIsProtectWindow
Boolean
bIsProtectContent
Boolean
password
String

See Also