FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread.Model 名前空間 > SpreadSerializer クラス > LoadTextFile メソッド : LoadTextFile(SheetView,Boolean,IncludeHeaders,String,String,String,String) メソッド |
'Declaration
Public Overloads Shared Sub LoadTextFile( _ ByVal sheetView As SheetView, _ ByVal unformatted As Boolean, _ ByVal includeHeaders As IncludeHeaders, _ ByVal rowDelimiter As String, _ ByVal columnDelimiter As String, _ ByVal cellDelimiter As String, _ ByVal data As String _ )
public static void LoadTextFile( SheetView sheetView, bool unformatted, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, string data )
unformattedパラメータには、セルのStyleInfoのIFormatterを無視して書式なしのデータを保存する場合はTrueを、それ以外の場合はFalseを設定します。
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)