Skip to main content
A newer version of this page is available. .

ReportStorageExtension.SetData(XtraReport, Stream) Method

Stores the specified report to a Report Storage using the specified stream.

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v18.2.Extensions.dll

Declaration

public virtual void SetData(
    XtraReport report,
    Stream stream
)

Parameters

Name Type Description
report XtraReport

An XtraReport class descendant, specifying a report object to be saved.

stream Stream

A Stream object, which should be used to save a report.

Remarks

Call the ReportStorageExtension.CanSetData method before using SetData, to determine whether or not it is allowed to use the specified URL to store a report.

For a code example, see Custom Report Storage.

See Also