[]
        
(Showing Draft Content)

FarPoint.Web.Spread.FpSpread.SetProtect

SetProtect Method

SetProtect(bool, string)

Changes the protect structure setting with the password parameter.

Declaration
public bool SetProtect(bool protect, string password)
Public Function SetProtect(protect As Boolean, password As String) As Boolean
Parameters
Type Name Description
bool protect

The boolean value that specifies whether to protect or unprotect spread.

string password

The password to protect or unprotect spread.

Returns
Type Description
bool

True, if successful; otherwise, false.