Click or drag to resize

StiHtmlExportServiceExportHtml Method (StiReport, Stream, Double, ImageFormat, StiPagesRange, StiHtmlExportMode, StiHtmlExportQuality, Encoding)

Exports a document to the HTML.

Namespace:  Stimulsoft.Report.Export
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public void ExportHtml(
	StiReport report,
	Stream stream,
	double zoom,
	ImageFormat imageFormat,
	StiPagesRange pageRange,
	StiHtmlExportMode exportMode,
	StiHtmlExportQuality exportQuality,
	Encoding encoding
)

Parameters

report
Type: Stimulsoft.ReportStiReport
A rendered report which is to be exported.
stream
Type: System.IOStream
A stream for the export of a document.
zoom
Type: SystemDouble
A zoom of the exported document. Default value is 1.
imageFormat
Type: System.Drawing.ImagingImageFormat
Specifies a format of the images in the resulted HTML document.
pageRange
Type: Stimulsoft.ReportStiPagesRange
Describes range of pages of the document for the export.
exportMode
Type: Stimulsoft.Report.ExportStiHtmlExportMode
A parameter that sets modes for the HTML export.
exportQuality
Type: Stimulsoft.Report.ExportStiHtmlExportQuality
A parameter that specifies a quality of images in the resulted HTML document.
encoding
Type: System.TextEncoding
A parameter that controls the character encoding of the resulted document.
See Also