SpreadsheetGear 2010
ProtectContents Property
See Also  Send Feedback
SpreadsheetGear Namespace > IWorksheet Interface : ProtectContents Property

Gets or sets the property which specifies whether the contents of a worksheet are protected.

Syntax

Visual Basic (Declaration) 
Property ProtectContents As Boolean
C# 
bool ProtectContents {get; set;}

Remarks

This property must be set to true for SpreadsheetGear.IRange.Locked and SpreadsheetGear.IRange.FormulaHidden to have any affect.


The default value of this property is false.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.