Exports the document to a disk file.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void Export(
	string fileName,
	ExportProvider exportProvider,
	OutputRange outputRange,
	bool showProgress
)
Visual Basic
Public Sub Export ( _
	fileName As String, _
	exportProvider As ExportProvider, _
	outputRange As OutputRange, _
	showProgress As Boolean _
)

Parameters

fileName
Type: System..::..String
The output file name. The file extension determines the export format.
exportProvider
Type: C1.C1Preview.Export..::..ExportProvider
The export provider. Use any of the static export providers available on the C1.C1Preview.Export.ExportProviders class.
outputRange
Type: C1.C1Preview..::..OutputRange
The range of pages to export (use null to export all pages).
showProgress
Type: System..::..Boolean
Flag indicating whether to show the progress dialog.

See Also