FarPoint.Web.Spread 名前空間 > SheetView クラス > LoadTextFile メソッド : LoadTextFile(Stream,Boolean) メソッド |
'Declaration
Public Overloads Sub LoadTextFile( _ ByVal stream As Stream, _ ByVal unformatted As Boolean _ )
public void LoadTextFile( Stream stream, bool unformatted )
FarPoint.Web.Spread.SheetView sv; System.IO.Stream s; string fileName; fileName = "D:\\nums.txt"; sv = FpSpread1.ActiveSheetView; s = System.IO.File.Open(fileName, IO.FileMode.Open); sv.LoadTextFile(s, true);
Dim sv As FarPoint.Web.Spread.SheetView Dim s As System.IO.Stream Dim fileName As String fileName = "D:\nums.txt" sv = FpSpread1.ActiveSheetView s = System.IO.File.Open(fileName, IO.FileMode.Open) sv.LoadTextFile(s, True)