Version

Export(DataPresenterBase,WorkbookFormat) Method

Creates a new workbook with empty Infragistics.Documents.Excel.Worksheet and exports the passed in data presenter to it.
Syntax
'Declaration
 
Public Overloads Function Export( _
   ByVal dataPresenter As DataPresenterBase, _
   ByVal workbookFormat As Infragistics.Documents.Excel.WorkbookFormat _
) As Infragistics.Documents.Excel.Workbook
public Infragistics.Documents.Excel.Workbook Export( 
   DataPresenterBase dataPresenter,
   Infragistics.Documents.Excel.WorkbookFormat workbookFormat
)

Parameters

dataPresenter
The data presenter to export.
workbookFormat
Specifies the format for the new workbook (Excel2007 or Excel97To2003) .

Return Value

Created Infragistics.Documents.Excel.Workbook.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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