Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Sub LoadTextFile( _ ByVal sheetView As SheetView, _ ByVal fileName As String, _ ByVal unformatted As Boolean, _ ByVal includeHeaders As IncludeHeaders, _ ByVal rowDelimiter As String, _ ByVal columnDelimiter As String, _ ByVal cellDelimiter As String, _ ByVal encoding As Encoding, _ ByVal loadFormulas As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim sheetView As SheetView Dim fileName As String Dim unformatted As Boolean Dim includeHeaders As IncludeHeaders 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, rowDelimiter, columnDelimiter, cellDelimiter, encoding, loadFormulas) |
C# | |
---|---|
public static void LoadTextFile( SheetView sheetView, string fileName, bool unformatted, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding, bool 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
- rowDelimiter
- Row delimiter string
- columnDelimiter
- Column delimiter string
- cellDelimiter
- Cell delimiter string
- encoding
- Encoding
- loadFormulas
- Whether to load formulas
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6