[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.DataBindingWizard.Services.ISampleReportsProvider.GetReportStream

GetReportStream Method

GetReportStream(SampleReportDescriptor)

Returns the report content stream for the specified report descriptor.

Declaration
Stream GetReportStream(SampleReportDescriptor reportDescriptor)
Parameters
Type Name Description
SampleReportDescriptor reportDescriptor

The descriptor of the report to get the stream for.

Returns
Type Description
Stream

A Stream representing the report's content.

Remarks

This method retrieves the stream associated with a specified report descriptor.

Examples
var stream = sampleReportsProvider.GetReportStream(descriptor);
Exceptions
Type Condition
ArgumentNullException

Thrown when reportDescriptor is null.