Version

Export(DataPresenterBase,String,WorkbookFormat,ExportOptions) Method

Exports the passed in data presenter to specified file.
Syntax
'Declaration
 
Public Overloads Function Export( _
   ByVal dataPresenter As DataPresenterBase, _
   ByVal fileName As String, _
   ByVal workbookFormat As Infragistics.Documents.Excel.WorkbookFormat, _
   ByVal options As ExportOptions _
) As Infragistics.Documents.Excel.Workbook
public Infragistics.Documents.Excel.Workbook Export( 
   DataPresenterBase dataPresenter,
   string fileName,
   Infragistics.Documents.Excel.WorkbookFormat workbookFormat,
   ExportOptions options
)

Parameters

dataPresenter
The data presenter to export.
fileName
Name and path of resulting Excel file.
workbookFormat
Specifies the format for the new workbook (Excel2007 or Excel97To2003) .
options
A set of options controlling the output of the exporting process.

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