Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / WorkbookProtection Class / ProtectStructure Property


In This Topic
    ProtectStructure Property (WorkbookProtection)
    In This Topic
    Gets or sets if the right to execute the following actions is removed from the Workbook : adding, removing, inserting, moving, copying, deleting & renaming Worksheets.
    Syntax
    'Declaration
     
    
    Public Property ProtectStructure As Boolean
    'Usage
     
    
    Dim instance As WorkbookProtection
    Dim value As Boolean
     
    instance.ProtectStructure = value
     
    value = instance.ProtectStructure
    public bool ProtectStructure {get; set;}
    Remarks
    The default value is false.
    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