Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / SaveCSV Method / SaveCSV(Int32,Stream,TextFileSaveFlags,Encoding) Method
The destination sheet index for saving.
Stream to which to save the content.
The export flags.
The encoding.


In This Topic
    SaveCSV(Int32,Stream,TextFileSaveFlags,Encoding) Method
    In This Topic
    Saves the CSV (comma-separated values) file.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveCSV( _
       ByVal sheetIndex As Integer, _
       ByVal stream As Stream, _
       ByVal flags As TextFileSaveFlags, _
       ByVal encoding As Encoding _
    ) 
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim sheetIndex As Integer
    Dim stream As Stream
    Dim flags As TextFileSaveFlags
    Dim encoding As Encoding
     
    instance.SaveCSV(sheetIndex, stream, flags, encoding)
    public void SaveCSV( 
       int sheetIndex,
       Stream stream,
       TextFileSaveFlags flags,
       Encoding encoding
    )

    Parameters

    sheetIndex
    The destination sheet index for saving.
    stream
    Stream to which to save the content.
    flags
    The export flags.
    encoding
    The encoding.
    See Also