Xceed Grid for WinForms v4.3 Documentation
Export(GridControl,Stream,Boolean) Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > ExcelExporter Class > Export Method : Export(GridControl,Stream,Boolean) Method
A reference to a Xceed.Grid.GridControl. Cannot be a null reference (Nothing in Visual Basic)
The System.IO.Stream to which to export the grid. Cannot be a null reference (Nothing in Visual Basic).
true if the output stream is to be closed once the process is finished; false otherwise.
Exports the data of a Xceed.Grid.GridControl in XML to a stream and specifying if the output stream should be closed once the process is finished.
Syntax
'Declaration
 
Public Overloads Sub Export( _
   ByVal gridControl As GridControl, _
   ByVal stream As Stream, _
   ByVal closeOutputStream As Boolean _
) 
'Usage
 
Dim instance As ExcelExporter
Dim gridControl As GridControl
Dim stream As Stream
Dim closeOutputStream As Boolean
 
instance.Export(gridControl, stream, closeOutputStream)
public void Export( 
   GridControl gridControl,
   Stream stream,
   bool closeOutputStream
)

Parameters

gridControl
A reference to a Xceed.Grid.GridControl. Cannot be a null reference (Nothing in Visual Basic)
stream
The System.IO.Stream to which to export the grid. Cannot be a null reference (Nothing in Visual Basic).
closeOutputStream
true if the output stream is to be closed once the process is finished; false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ExcelExporter Class
ExcelExporter Members
Overload List