Version

ExportAsync(DataPresenterBase,String,WorkbookFormat) Method

Asynchronously exports the passed in data presenter to specified file.
Syntax
'Declaration
 
Public Overloads Sub ExportAsync( _
   ByVal dataPresenter As DataPresenterBase, _
   ByVal fileName As String, _
   ByVal workbookFormat As Infragistics.Documents.Excel.WorkbookFormat _
) 
public void ExportAsync( 
   DataPresenterBase dataPresenter,
   string fileName,
   Infragistics.Documents.Excel.WorkbookFormat workbookFormat
)

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