StiDocumentSLService Class

Namespace: Stimulsoft.Report.SaveLoad

Inheritance

Inherits from: StiSLService

Properties

Property Type Description
MultiplePages bool If the provider handles with multitude of files then true. If does not then false.

Methods

Method Returns Description
Load void Loads a document from the stream.
LoadAsync Task Loads asynchronously a document from the stream.
Save void Saves a document in the stream.
SaveAsync Task Saves asynchronously a document in the stream.

Method Details

Load

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

Loads a document from the stream.

Parameters

  • report (StiReport) — Report in which loading will be done.
  • stream (Stream) — Stream to load documents.

LoadAsync

LoadAsync(report: StiReport, stream: Stream): Task

Loads asynchronously a document from the stream.

Parameters

  • report (StiReport) — Report in which loading will be done.
  • stream (Stream) — Stream to load documents.

Returns Task


Save

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

Saves a document in the stream.

Parameters

  • report (StiReport) — Rendered for saving.
  • stream (Stream) — Stream to save documents.

SaveAsync

SaveAsync(report: StiReport, stream: Stream): Task

Saves asynchronously a document in the stream.

Parameters

  • report (StiReport) — Rendered for saving.
  • stream (Stream) — Stream to save documents.

Returns Task