FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / Save Method / Save(Stream,GridFileFormat,Encoding,GridSaveOptions) Method
System.IO.Stream where the contents will be saved.
GridFileFormat value that specifies the format used to save the file.
System.Text.Encoding value that specifies the encoding for the file.
GridSaveOptions value that specifies options to use when saving the file.

In This Topic
    Save(Stream,GridFileFormat,Encoding,GridSaveOptions) Method
    In This Topic
    Saves the contents of the grid to a stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Save( _
       ByVal stream As Stream, _
       ByVal format As GridFileFormat, _
       ByVal encoding As Encoding, _
       ByVal options As GridSaveOptions _
    ) 
    public void Save( 
       Stream stream,
       GridFileFormat format,
       Encoding encoding,
       GridSaveOptions options
    )

    Parameters

    stream
    System.IO.Stream where the contents will be saved.
    format
    GridFileFormat value that specifies the format used to save the file.
    encoding
    System.Text.Encoding value that specifies the encoding for the file.
    options
    GridSaveOptions value that specifies options to use when saving the file.
    Remarks
    The caller is responsible for closing the System.IO.Stream.
    See Also