ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Export.Excel Assembly / GrapeCity.SpreadBuilder Namespace / Workbook Class / ProtectWorkbookWindows Property
Example

In This Topic
    ProtectWorkbookWindows Property
    In This Topic
    Sets or returns a value indicating whether the workbook or sheet is protected.
    Syntax
    'Declaration
     
    Public Property ProtectWorkbookWindows As Boolean
    public bool ProtectWorkbookWindows {get; set;}

    Property Value

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