ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Export.Excel Assembly / GrapeCity.SpreadBuilder Namespace / Workbook Class / ProtectWorkBookStructure Property
Example

In This Topic
    ProtectWorkBookStructure Property
    In This Topic
    Sets or returns a value indicating whether Excel will let the user add, delete, reorder, or rename sheets in the workbook.
    Syntax
    'Declaration
     
    Public Property ProtectWorkBookStructure As Boolean
    public bool ProtectWorkBookStructure {get; set;}

    Property Value

    Boolean.  The default value is False.
    Example
    GrapeCity.SpreadBuilder.Workbook sb = new GrapeCity.SpreadBuilder.Workbook();
    sb.ProtectWorkBookStructure = true;
    Dim sb As New GrapeCity.SpreadBuilder.Workbook
    sb.ProtectWorkBookStructure = True
    See Also