StiMhtExportServiceExportMht Method (StiReport, Stream, Double, ImageFormat, StiPagesRange, StiHtmlExportMode, Encoding) |
Exports a rendered report to the MHT format.
Namespace:
Stimulsoft.Report.Export
Assembly:
Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax public void ExportMht(
StiReport report,
Stream stream,
double zoom,
ImageFormat imageFormat,
StiPagesRange pageRange,
StiHtmlExportMode exportMode,
Encoding encoding
)
Public Sub ExportMht (
report As StiReport,
stream As Stream,
zoom As Double,
imageFormat As ImageFormat,
pageRange As StiPagesRange,
exportMode As StiHtmlExportMode,
encoding As Encoding
)
Parameters
- report
- Type: Stimulsoft.ReportStiReport
A report which is to be exported. - stream
- Type: System.IOStream
A stream for 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 Mht document. - pageRange
- Type: Stimulsoft.ReportStiPagesRange
Describes range of pages of the document for the export. - exportMode
- Type: Stimulsoft.Report.ExportStiHtmlExportMode
Sets mode of the export (Span or Table). - encoding
- Type: System.TextEncoding
A parameter that controls the character encoding of the resulted document.
See Also