ComponentOne FlexGrid for WPF and Silverlight
Save(Stream,FileFormat,Encoding,SaveOptions) Method

C1.WPF.FlexGrid Namespace > C1FlexGrid Class > Save Method : Save(Stream,FileFormat,Encoding,SaveOptions) Method
System.IO.Stream where the contents will be saved.
FileFormat value that specifies the format used to save the file.
System.Text.Encoding value that specifies the encoding for the file.
SaveOptions value that specifies options to use when saving the file.
Saves the contents of the grid to a stream.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal stream As System.IO.Stream, _
   ByVal format As FileFormat, _
   ByVal encoding As System.Text.Encoding, _
   ByVal options As SaveOptions _
) 
public void Save( 
   System.IO.Stream stream,
   FileFormat format,
   System.Text.Encoding encoding,
   SaveOptions options
)

Parameters

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

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List