Spread for ASP.NET 8.0 Product Documentation
LoadTextFile(SheetView,Stream,Boolean,IncludeHeaders,String,String,String,Encoding,Boolean) Method


Sheet into which to load the text data
Stream from which to load text
Whether to bypass formatting
Whether headers are handled as data
Row delimiter string
Column delimiter string
Cell delimiter string
Encoding of the file
Whether to load formula values
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 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 _
) 
'Usage
 
Dim sheetView As SheetView
Dim stream As Stream
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, stream, unformatted, includeHeaders, rowDelimiter, columnDelimiter, cellDelimiter, encoding, loadFormulas)
public static void LoadTextFile( 
   SheetView sheetView,
   Stream stream,
   bool unformatted,
   IncludeHeaders includeHeaders,
   string rowDelimiter,
   string columnDelimiter,
   string cellDelimiter,
   Encoding encoding,
   bool loadFormulas
)

Parameters

sheetView
Sheet into which to load the text data
stream
Stream 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 of the file
loadFormulas
Whether to load formula values
Requirements

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

See Also

Reference

SpreadSerializer Class
SpreadSerializer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.