[]
Loads the text file with the specified formatting.
public static void LoadTextFile(SheetView sheetView, string fileName, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, TextFileFlags flags)
Public Shared Sub LoadTextFile(sheetView As SheetView, fileName As String, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, flags As TextFileFlags)
Type | Name | Description |
---|---|---|
SheetView | sheetView | Sheet into which to load the text data |
string | fileName | Path and name of file from which to load text |
IncludeHeaders | includeHeaders | Whether headers are handled as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
TextFileFlags | flags | Specifies how to process the data when loading from a text file |
Loads the text from a stream with the specified formatting.
public static void LoadTextFile(SheetView sheetView, Stream stream, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding, TextFileFlags flags)
Public Shared Sub LoadTextFile(sheetView As SheetView, stream As Stream, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, encoding As Encoding, flags As TextFileFlags)
Type | Name | Description |
---|---|---|
SheetView | sheetView | Sheet into which to load the text data |
Stream | stream | Stream from which to load text |
IncludeHeaders | includeHeaders | Whether headers are handled as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
Encoding | encoding | Encoding of the file |
TextFileFlags | flags | Specifies how to process the data when loading from a text file |
Loads the text (string) data with the specified formatting.
public static void LoadTextFile(SheetView sheetView, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, string data, TextFileFlags flags)
Public Shared Sub LoadTextFile(sheetView As SheetView, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, data As String, flags As TextFileFlags)
Type | Name | Description |
---|---|---|
SheetView | sheetView | Sheet into which to load the text data |
IncludeHeaders | includeHeaders | Whether headers are handled as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
string | data | String that contains data to load |
TextFileFlags | flags | Specifies how to process the data when loading from a text file |