[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Workbook.ProtectStructure

ProtectStructure Property

ProtectStructure

Returns a value indicating whether the workbook structure is protected.

When the workbook structure is protected, the order of worksheets cannot be changed until the protection is removed by using Unprotect(string).

Declaration
public bool ProtectStructure { get; }
Public ReadOnly Property ProtectStructure As Boolean
Implements
Examples
worksheet.Range["A1"].Value = "Quarterly Report";
workbook.Protect(true);
bool protectStructure = workbook.ProtectStructure;