LoadTextFile(SheetView,String,IncludeHeaders,String,String,String,TextFileFlags) Method
In This Topic
Loads the text file with the specified formatting.
Syntax
'Declaration
Public Overloads Shared Sub LoadTextFile( _
ByVal As SheetView, _
ByVal As String, _
ByVal As IncludeHeaders, _
ByVal As String, _
ByVal columnDelimiter As String, _
ByVal As String, _
ByVal As TextFileFlags _
)
'Usage
Dim sheetView As SheetView
Dim fileName As String
Dim includeHeaders As IncludeHeaders
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
Dim flags As TextFileFlags
SpreadSerializer.LoadTextFile(sheetView, fileName, includeHeaders, rowDelimiter, columnDelimiter, cellDelimiter, flags)
Parameters
- sheetView
- Sheet into which to load the text data
- fileName
- Path and name of file from which to load text
- includeHeaders
- Whether headers are handled as data
- rowDelimiter
- Row delimiter string
- columnDelimiter
- Column delimiter string
- cellDelimiter
- Cell delimiter string
- flags
- Specifies how to process the data when loading from a text file
See Also