ActiveReports 8
ProtectWorkbookWindows Property
See Also  Example
GrapeCity.ActiveReports.Export.Excel.v8 Assembly > GrapeCity.SpreadBuilder Namespace > Workbook Class : ProtectWorkbookWindows Property

Glossary Item Box

Sets or returns a value indicating whether the workbook or sheet is protected.

Syntax

Visual Basic (Declaration) 
Public Property ProtectWorkbookWindows As System.Boolean
C# 
public System.bool ProtectWorkbookWindows {get; set;}

Property Value

Boolean.  The default value is False.

Example

C#Copy Code
GrapeCity.SpreadBuilder.Workbook sb = new GrapeCity.SpreadBuilder.Workbook();
sb.ProtectWorkbookWindows = true;
Visual BasicCopy Code
Dim sb As New GrapeCity.SpreadBuilder.Workbook
sb.ProtectWorkbookWindows = True

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also