[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.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
bool ProtectStructure { get; }
ReadOnly Property ProtectStructure As Boolean
Examples
worksheet.Range["A1"].Value = "Quarterly Report";
workbook.Protect(true);
bool protectStructure = workbook.ProtectStructure;