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


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > ExcelExporter Class > Export Method : Export(GridControl,Stream) 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).
Exports the data of a Xceed.Grid.GridControl in XML to a stream.
Syntax
'Declaration
 
Public Overloads Sub Export( _

   ByVal gridControl As GridControl, _

   ByVal stream As Stream _

) 
'Usage
 
Dim instance As ExcelExporter

Dim gridControl As GridControl

Dim stream As Stream

 

instance.Export(gridControl, stream)
public void Export( 

   GridControl gridControl,

   Stream stream

)

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).
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