FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / Extensions Class / SaveGrid Method / SaveGrid(C1FlexGridBase,Stream,FileFormatEnum,FileFlags,Encoding) Method
C1FlexGridBase instance that will be saved.
The System.IO.Stream to write.
File format to use.
Options to use when saving the file.
System.Text.Encoding to use when saving the file.

In This Topic
    SaveGrid(C1FlexGridBase,Stream,FileFormatEnum,FileFlags,Encoding) Method
    In This Topic
    Saves the grid contents to a stream.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SaveGrid( _
       ByVal grid As C1FlexGridBase, _
       ByVal stream As Stream, _
       ByVal format As FileFormatEnum, _
       ByVal flags As FileFlags, _
       ByVal encoding As Encoding _
    ) 

    Parameters

    grid
    C1FlexGridBase instance that will be saved.
    stream
    The System.IO.Stream to write.
    format
    File format to use.
    flags
    Options to use when saving the file.
    encoding
    System.Text.Encoding to use when saving the file.
    See Also