FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class > SaveTextFile Method : SaveTextFile(String,Boolean) Method |
'Declaration Public Overloads Function SaveTextFile( _ ByVal fileName As String, _ ByVal unformatted As Boolean _ ) As Boolean
'Usage Dim instance As SheetView Dim fileName As String Dim unformatted As Boolean Dim value As Boolean value = instance.SaveTextFile(fileName, unformatted)
public bool SaveTextFile( string fileName, bool unformatted )
private void Button1Click(object sender, System.EventArgs e) { FarPoint.Web.Spread.SheetView sv; string s; sv = FpSpread1.ActiveSheetView; s = "D:\\mine.txt"; sv.SaveTextFile(s, true); }
Private Sub Button1Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim sv As FarPoint.Web.Spread.SheetView Dim s As String sv = FpSpread1.ActiveSheetView s = "D:\mine.txt" sv.SaveTextFile(s, True) End Sub
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional