Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / C1XLBook Class / Load Method / Load(String,FileFormat) Method
Name of the file that contains the worksheet.
C1.WPF.Excel.C1XLBook.FileFormat value that specifies the file format.

In This Topic
    Load(String,FileFormat) 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 _
    ) 
    public void Load( 
       string fileName,
       FileFormat format
    )

    Parameters

    fileName
    Name of the file that contains the worksheet.
    format
    C1.WPF.Excel.C1XLBook.FileFormat value that specifies the file format.
    See Also