Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / SpreadSerializer Class / LoadTextFile Method / LoadTextFile(SheetView,String,Boolean,IncludeHeaders,Boolean,String,String,String,Encoding,Boolean) Method
Sheet into which to load the text data
Path and name of file from which to load text
Whether to bypass formatting
Whether headers are handled as data
Whether the footer is handled as data
Row delimiter string
Column delimiter string
Cell delimiter string
Encoding
Whether to load formulas


In This Topic
    LoadTextFile(SheetView,String,Boolean,IncludeHeaders,Boolean,String,String,String,Encoding,Boolean) Method
    In This Topic
    Loads the text file with the specified formatting.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub LoadTextFile( _
       ByVal sheetView As SheetView, _
       ByVal fileName As String, _
       ByVal unformatted As Boolean, _
       ByVal includeHeaders As IncludeHeaders, _
       ByVal includeFooter As Boolean, _
       ByVal rowDelimiter As String, _
       ByVal columnDelimiter As String, _
       ByVal cellDelimiter As String, _
       ByVal encoding As Encoding, _
       ByVal loadFormulas As Boolean _
    ) 
    'Usage
     
    
    Dim sheetView As SheetView
    Dim fileName As String
    Dim unformatted As Boolean
    Dim includeHeaders As IncludeHeaders
    Dim includeFooter As Boolean
    Dim rowDelimiter As String
    Dim columnDelimiter As String
    Dim cellDelimiter As String
    Dim encoding As Encoding
    Dim loadFormulas As Boolean
     
    SpreadSerializer.LoadTextFile(sheetView, fileName, unformatted, includeHeaders, includeFooter, rowDelimiter, columnDelimiter, cellDelimiter, encoding, loadFormulas)

    Parameters

    sheetView
    Sheet into which to load the text data
    fileName
    Path and name of file from which to load text
    unformatted
    Whether to bypass formatting
    includeHeaders
    Whether headers are handled as data
    includeFooter
    Whether the footer is handled as data
    rowDelimiter
    Row delimiter string
    columnDelimiter
    Column delimiter string
    cellDelimiter
    Cell delimiter string
    encoding
    Encoding
    loadFormulas
    Whether to load formulas
    See Also