ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design.DataBindingWizard.Services Namespace / ISampleReportsProvider Interface / GetReportStream Method
The descriptor of the report to get the stream for.
Example

In This Topic
    GetReportStream Method (ISampleReportsProvider)
    In This Topic
    Returns the report content stream for the specified report descriptor.
    Syntax
    'Declaration
     
    Function GetReportStream( _
       ByVal reportDescriptor As SampleReportDescriptor _
    ) As Stream

    Parameters

    reportDescriptor
    The descriptor of the report to get the stream for.

    Return Value

    A System.IO.Stream representing the report's content.
    Exceptions
    ExceptionDescription
    Thrown when reportDescriptor is null.
    Remarks
    This method retrieves the stream associated with a specified report descriptor.
    Example
    var stream = sampleReportsProvider.GetReportStream(descriptor);
    See Also