ActiveReports 9
ProtectWorkBookStructure Property
Example 

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 System.Boolean
public System.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
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

Reference

Workbook Class
Workbook Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum