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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > SpreadSerializer Class > LoadTextFile Method : LoadTextFile(SheetView,Stream,Boolean,IncludeHeaders,Boolean,String,String,String) 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
Whether footer is handled as data
Row delimiter string
Column delimiter string
Cell delimiter string
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 includeFooter As Boolean, _
   ByVal rowDelimiter As String, _
   ByVal columnDelimiter As String, _
   ByVal cellDelimiter As String _
) 
'Usage
 
Dim sheetView As SheetView
Dim stream As Stream
Dim unformatted As Boolean
Dim includeHeaders As IncludeHeaders
Dim includeFooter As Boolean
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
 
SpreadSerializer.LoadTextFile(sheetView, stream, unformatted, includeHeaders, includeFooter, rowDelimiter, columnDelimiter, cellDelimiter)
public static void LoadTextFile( 
   SheetView sheetView,
   Stream stream,
   bool unformatted,
   IncludeHeaders includeHeaders,
   bool includeFooter,
   string rowDelimiter,
   string columnDelimiter,
   string cellDelimiter
)

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
includeFooter
Whether footer is handled as data
rowDelimiter
Row delimiter string
columnDelimiter
Column delimiter string
cellDelimiter
Cell delimiter string
See Also

Reference

SpreadSerializer Class
SpreadSerializer Members
Overload List