Click or drag to resize

StiExcelExportServiceExportExcel Method (StiReport, Stream, StiPagesRange, Boolean, Boolean, Boolean)

Exports rendered report to an Excel file.

Namespace:  Stimulsoft.Report.Export
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public void ExportExcel(
	StiReport report,
	Stream stream,
	StiPagesRange pageRange,
	bool useOnePageHeaderAndFooter,
	bool exportDataOnly,
	bool exportObjectFormatting
)

Parameters

report
Type: Stimulsoft.ReportStiReport
A report which is to be exported.
stream
Type: System.IOStream
A stream for export of a document.
pageRange
Type: Stimulsoft.ReportStiPagesRange
Describes range of pages of the document for the export.
useOnePageHeaderAndFooter
Type: SystemBoolean
If true then the first page header and the last page footer will be exported for all exported documents.
exportDataOnly
Type: SystemBoolean
If true then only data from the DataBand of the page will be exported.
exportObjectFormatting
Type: SystemBoolean
If true then the Object formatting will be applied for the exported file. If the ExportDataOnly is false then this parameter is ignored.
See Also