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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
SheetView Class
SheetView Members
Overload List
SaveTextFile Method
SaveTextFileRange Method