Back to Devexpress

ChartSheet.Unprotect(String) Method

officefileapi-devexpress-dot-spreadsheet-dot-chartsheet-dot-unprotect-x28-system-dot-string-x29.md

latest1.8 KB
Original Source

ChartSheet.Unprotect(String) Method

Removes protection from a chart sheet.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Unprotect(
    string password
)
vb
Function Unprotect(
    password As String
) As Boolean

Parameters

NameTypeDescription
passwordString

A string that specifies the password used to protect the chart sheet.

|

Returns

TypeDescription
Boolean

true , if protection is successfully removed; otherwise, false.

|

Remarks

If a chart sheet is not protected, the Unprotect method raises an exception. Use the ChartSheet.IsProtected property to check whether the chart sheet is already protected.

See Also

Protect(String, ChartSheetProtection)

IsProtected

ChartSheet Interface

ChartSheet Members

DevExpress.Spreadsheet Namespace