Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / C1XLBook Class / Clear Method

In This Topic
    Clear Method (C1XLBook)
    In This Topic
    Clears the C1XLBook, restoring the initial state with a single XLSheet called "Sheet1".
    Syntax
    'Declaration
     
    
    Public Sub Clear() 
    public void Clear()
    Remarks
    The Clear method restores the C1XLBook object to its initial state, with a single empty sheet called "Sheet1" and the DefaultFont set to 10pt Arial.
    See Also