StiEncryptedDocumentSLService Class

Namespace: Stimulsoft.Report.SaveLoad

Describes the class that allows to save / load packed documents.

Inheritance

Inherits from: StiDocumentSLService

Properties

Property Type Description
Key string Key for encryption.

Methods

Method Returns Description
GetAction StiSLActions Returns actions available for the provider.
GetFilter string Returns a filter for the provider.
Load void Loads a document from the stream.
LoadAsync Task Loads asynchronously a document from the stream.
Save void Saves the current document into the stream.
SaveAsync Task Saves asynchronously the current document into the stream.

Method Details

GetAction

GetAction(): StiSLActions

Returns actions available for the provider.

Returns StiSLActions — Available actions.


GetFilter

GetFilter(): string

Returns a filter for the provider.

Returns string — String with filter.


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 document.

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 document.

Returns Task


Save

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

Saves the current document into the stream.

Parameters

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

SaveAsync

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

Saves asynchronously the current document into the stream.

Parameters

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

Returns Task