StiMhtExportService Class

Namespace: Stimulsoft.Report.Export

Inheritance

Inherits from: StiExportService

Methods

Method Returns Description
Export void Exports a rendered report to the MHT format. Also file may be sent via e-mail.
ExportMht (+5 overloads) void Exports a rendered report to the MHT format.
ExportTo void Exports a document to the stream without dialog of the saving file.
GetFilter string Returns a filter for Mht files.

Method Details

Export

Export(report: StiReport, fileName: string, sendEMail: bool, guiMode: StiGuiMode): void

Exports a rendered report to the MHT format. Also file may be sent via e-mail.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.
  • sendEMail (bool) — If true then the result of the exporting will be sent via e-mail.
  • guiMode (StiGuiMode)

ExportMht

ExportMht(report: StiReport, fileName: string): void

Exports a rendered report to the MHT format.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.

ExportMht(report: StiReport, stream: Stream): void

Exports a rendered report to the MHT format.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.

ExportMht(report: StiReport, stream: Stream, zoom: double, imageFormat: ImageFormat): void

Exports a rendered report to the MHT format.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.
  • zoom (double) — A zoom of the exported document. Default value is 1.
  • imageFormat (ImageFormat) — Specifies a format of the images in the resulted Mht document.

ExportMht(report: StiReport, stream: Stream, pageRange: StiPagesRange): void

Exports a rendered report to the MHT format.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.
  • pageRange (StiPagesRange) — Describes range of pages of the document for the export.

ExportMht(report: StiReport, stream: Stream, zoom: double, imageFormat: ImageFormat, pageRange: StiPagesRange): void

Exports a rendered report to the MHT format.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.
  • zoom (double) — A zoom of the exported document. Default value is 1.
  • imageFormat (ImageFormat) — Specifies a format of the images in the resulted Mht document.
  • pageRange (StiPagesRange) — Describes range of pages of the document for the export.

ExportMht(report: StiReport, stream: Stream, settings: StiHtmlExportSettings): void

Exports a rendered report to the MHT format.

Parameters

  • report (StiReport)
  • stream (Stream)
  • settings (StiHtmlExportSettings)

ExportTo

ExportTo(report: StiReport, stream: Stream, settings: StiExportSettings): void

Exports a document to the stream without dialog of the saving file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream in which report will be exported.
  • settings (StiExportSettings) — A settings for the report exporting.

GetFilter

GetFilter(): string

Returns a filter for Mht files.

Returns string — Returns a filter for Mht files.