Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / C1XLBook Class / Load Method / Load(String,FileFormat,Boolean) Method
Name of the file that contains the worksheet.
C1.WPF.Excel.C1XLBook.FileFormat value that specifies the file format.
True to load data into the sheets; False to read the sheet names only.

In This Topic
    Load(String,FileFormat,Boolean) Method
    In This Topic
    Loads an Excel worksheet from a file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Load( _
       ByVal fileName As String, _
       ByVal format As FileFormat, _
       ByVal fillSheets As Boolean _
    ) 

    Parameters

    fileName
    Name of the file that contains the worksheet.
    format
    C1.WPF.Excel.C1XLBook.FileFormat value that specifies the file format.
    fillSheets
    True to load data into the sheets; False to read the sheet names only.
    See Also