FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class > LoadTextFile Method : LoadTextFile(Stream,Boolean) Method |
'Declaration Public Overloads Sub LoadTextFile( _ ByVal stream As Stream, _ ByVal unformatted As Boolean _ )
'Usage Dim instance As SheetView Dim stream As Stream Dim unformatted As Boolean instance.LoadTextFile(stream, unformatted)
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)
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
SheetView Class
SheetView Members
Overload List
SaveTextFile Method
SaveTextFileRange Method