StiImageExportService Class

Namespace: Stimulsoft.Report.Export

Inheritance

Inherits from: StiExportService

Constructors

Constructor Description
StiImageExportService()  

StiImageExportService()

Methods

Method Returns Description
Export void Exports a rendered document to the file as image.
ExportImage (+4 overloads) void Exports a rendered document to the file as image.
ExportTo void Exports a document to the stream without dialog of the saving file.
GetFilter string Returns a filter for files with bmp images.

Method Details

Export

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

Exports a rendered document to the file as image.

Parameters

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

ExportImage

ExportImage(report: StiReport, fileName: string, imageFormat: StiImageFormat): void

Exports a rendered document to the file as image.

Parameters

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

ExportImage(report: StiReport, stream: Stream, imageFormat: StiImageFormat): void

Exports a rendered document to the stream as image.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.
  • imageFormat (StiImageFormat) — A parameter which sets format of the resulted image.

ExportImage(report: StiReport, stream: Stream, imageFormat: StiImageFormat, pageRange: StiPagesRange): void

Exports a rendered document to the stream as an image.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.
  • imageFormat (StiImageFormat) — A parameter which sets a format of the resulted image.
  • pageRange (StiPagesRange) — Describes range of pages of the document for the export.

ExportImage(report: StiReport, stream: Stream, imageZoom: double, cutEdges: bool, imageFormat: StiImageFormat, pageRange: StiPagesRange): void

Exports a rendered document to the stream as an image.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for export of a document.
  • imageZoom (double) — A parameter which sets zoom of the resulted image.
  • cutEdges (bool) — A parameter which cuts edges of the resulted image after the export.
  • imageFormat (StiImageFormat) — A parameter which sets format of the resulted image.
  • pageRange (StiPagesRange) — Describes range of pages of the document for the export.

ExportImage(report: StiReport, stream: Stream, settings: StiImageExportSettings): void

Exports a rendered document to the stream as an image.

Parameters

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

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 files with bmp images.

Returns string — Returns a filter for files with bmp images.