FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > SpreadSerializer クラス > LoadTextFile メソッド : LoadTextFile(SheetView,String,IncludeHeaders,String,String,String,TextFileFlags) メソッド |
'Declaration Public Overloads Shared Sub LoadTextFile( _ ByVal sheetView As SheetView, _ ByVal fileName As String, _ ByVal includeHeaders As IncludeHeaders, _ ByVal rowDelimiter As String, _ ByVal columnDelimiter As String, _ ByVal cellDelimiter As String, _ ByVal flags As TextFileFlags _ )
'使用法 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)
public static void LoadTextFile( SheetView sheetView, string fileName, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, TextFileFlags flags )
FarPoint.Win.Spread.Model.SpreadSerializer.LoadTextFile(fpSpread1.ActiveSheet, "D:\\SpreadFiles\\tabbed.txt", FarPoint.Win.Spread.Model.IncludeHeaders.None, "\t", ",", "", FarPoint.Win.Spread.TextFileFlags.None);
Dim s As New FarPoint.Win.Spread.Model.SpreadSerializer s.LoadTextFile(FpSpread1.ActiveSheet, "D:\SpreadFiles\tabbed.txt", FarPoint.Win.Spread.Model.IncludeHeaders.None, Chr(13), ",", "", FarPoint.Win.Spread.TextFileFlags.None)