Xceed Grid for WinForms v4.3 Documentation
Export(String,ExportFormat,Boolean,Boolean) Method


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > Report Class > Export Method : Export(String,ExportFormat,Boolean,Boolean) Method
A string representing the name of the file which will contain the exported report.
An ExportFormat value representing the format to be used when exporting the report.
true if the destination file is to be overwritten; false otherwise. If false and the destination file exists, an exception will be thrown.
true if the progression dialog should be shown during the exporting process; false otherwise.
Exports the report to the specified filename and format.
Syntax
'Declaration
 
Public Overloads Sub Export( _

   ByVal fileName As String, _

   ByVal format As ExportFormat, _

   ByVal overwrite As Boolean, _

   ByVal showProgressionDialog As Boolean _

) 
'Usage
 
Dim instance As Report

Dim fileName As String

Dim format As ExportFormat

Dim overwrite As Boolean

Dim showProgressionDialog As Boolean

 

instance.Export(fileName, format, overwrite, showProgressionDialog)
public void Export( 

   string fileName,

   ExportFormat format,

   bool overwrite,

   bool showProgressionDialog

)

Parameters

fileName
A string representing the name of the file which will contain the exported report.
format
An ExportFormat value representing the format to be used when exporting the report.
overwrite
true if the destination file is to be overwritten; false otherwise. If false and the destination file exists, an exception will be thrown.
showProgressionDialog
true if the progression dialog should be shown during the exporting process; false otherwise.
Remarks

By default, the report will be exported using the default printer's page settings.

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

Report Class
Report Members
Overload List