Xceed Workbooks for .NET v2.0 Documentation
ProtectWindows Property (WorkbookProtection)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > WorkbookProtection Class : ProtectWindows Property
Protects a Workbook by locking the size of its window. The default value is false.
Syntax
'Declaration
 
Public Property ProtectWindows As Boolean
'Usage
 
Dim instance As WorkbookProtection
Dim value As Boolean
 
instance.ProtectWindows = value
 
value = instance.ProtectWindows
public bool ProtectWindows {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, 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

WorkbookProtection Class
WorkbookProtection Members