Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Workbook Class / Clear Method
Sets the options that determine which elements are cleared from the Workbook. The default setting is All.


In This Topic
    Clear Method (Workbook)
    In This Topic
    Clears specific elements in the Workbook.
    Syntax
    'Declaration
     
    
    Public Sub Clear( _
       Optional ByVal clearOptions As ClearOptions _
    ) 
    'Usage
     
    
    Dim instance As Workbook
    Dim clearOptions As ClearOptions
     
    instance.Clear(clearOptions)
    public void Clear( 
       ClearOptions clearOptions
    )

    Parameters

    clearOptions
    Sets the options that determine which elements are cleared from the Workbook. The default setting is All.
    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