Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / OpenSpreadFile Method
Path and name of the Spread-compatible file from which to load the contents
Index of sheet into which to load the data


In This Topic
    OpenSpreadFile Method (FpSpread)
    In This Topic
    Opens a saved Spread file.
    Syntax
    'Declaration
     
    
    Public Function OpenSpreadFile( _
       ByVal fileName As String, _
       ByVal sheetIndex As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim fileName As String
    Dim sheetIndex As Integer
    Dim value As Boolean
     
    value = instance.OpenSpreadFile(fileName, sheetIndex)
    public bool OpenSpreadFile( 
       string fileName,
       int sheetIndex
    )

    Parameters

    fileName
    Path and name of the Spread-compatible file from which to load the contents
    sheetIndex
    Index of sheet into which to load the data
    See Also