Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SaveTextFile Method / SaveTextFile(Stream,Boolean) Method
Stream to which to save the sheet
Whether to save the data unformatted
Example


In This Topic
    SaveTextFile(Stream,Boolean) Method
    In This Topic
    Saves the sheet as delimited text to a stream as specified.
    Syntax
    'Declaration
     
    
    Public Overloads Function SaveTextFile( _
       ByVal stream As Stream, _
       ByVal unformatted As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As SheetView
    Dim stream As Stream
    Dim unformatted As Boolean
    Dim value As Boolean
     
    value = instance.SaveTextFile(stream, unformatted)
    public bool SaveTextFile( 
       Stream stream,
       bool unformatted
    )

    Parameters

    stream
    Stream to which to save the sheet
    unformatted
    Whether to save the data unformatted

    Return Value

    Boolean: true if successful; false otherwise
    Remarks
    Set the unformatted parameter to true to bypass the IFormatter in the StyleInfo for the cell and save the data as unformatted data or false to save it as formatted.
    Example
    This example saves the sheet to a text file.
    See Also