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


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

    Parameters

    sheetIndex
    The destination sheet index for saving.
    fileName
    Path and name of the file to which to save the content.
    flags
    The flags.
    encoding
    The encoding.
    See Also