Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / SpreadSerializer Class / LoadTextFile Method / LoadTextFile(SheetView,Stream,IncludeHeaders,String,String,String,Encoding,TextFileFlags) Method
Sheet into which to load the text data
Stream from which to load text
Whether headers are handled as data
Row delimiter string
Column delimiter string
Cell delimiter string
Encoding of the file
Specifies how to process the data when loading from a text file


In This Topic
    LoadTextFile(SheetView,Stream,IncludeHeaders,String,String,String,Encoding,TextFileFlags) Method
    In This Topic
    Loads the text from a stream with the specified formatting.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub LoadTextFile( _
       ByVal sheetView As SheetView, _
       ByVal stream As Stream, _
       ByVal includeHeaders As IncludeHeaders, _
       ByVal rowDelimiter As String, _
       ByVal columnDelimiter As String, _
       ByVal cellDelimiter As String, _
       ByVal encoding As Encoding, _
       ByVal flags As TextFileFlags _
    ) 
    'Usage
     
    
    Dim sheetView As SheetView
    Dim stream As Stream
    Dim includeHeaders As IncludeHeaders
    Dim rowDelimiter As String
    Dim columnDelimiter As String
    Dim cellDelimiter As String
    Dim encoding As Encoding
    Dim flags As TextFileFlags
     
    SpreadSerializer.LoadTextFile(sheetView, stream, includeHeaders, rowDelimiter, columnDelimiter, cellDelimiter, encoding, flags)

    Parameters

    sheetView
    Sheet into which to load the text data
    stream
    Stream from which to load text
    includeHeaders
    Whether headers are handled as data
    rowDelimiter
    Row delimiter string
    columnDelimiter
    Column delimiter string
    cellDelimiter
    Cell delimiter string
    encoding
    Encoding of the file
    flags
    Specifies how to process the data when loading from a text file
    See Also