Share via


ServerReport.RenderStream Method (String, String, String, String, String)

 

Returns a secondary stream associated with a processed report.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public byte[] RenderStream(
    string format,
    string streamId,
    string deviceInfo,
    out string mimeType,
    out string encoding
)
public:
array<unsigned char>^ RenderStream(
    String^ format,
    String^ streamId,
    String^ deviceInfo,
    [OutAttribute] String^% mimeType,
    [OutAttribute] String^% encoding
)
member RenderStream : 
        format:string *
        streamId:string *
        deviceInfo:string *
        mimeType:string byref *
        encoding:string byref -> byte[]
Public Function RenderStream (
    format As String,
    streamId As String,
    deviceInfo As String,
    <OutAttribute> ByRef mimeType As String,
    <OutAttribute> ByRef encoding As String
) As Byte()

Parameters

  • format
    Type: System.String

    The format in which to render the stream. This argument maps to a rendering extension. You can use any rendering extension available on the report server.

    To access the list of available rendering extensions, use the ListRenderingExtensions method.

  • deviceInfo
    Type: System.String

    An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see fe718939-7efe-4c7f-87cb-5f5b09caeff4 Device Information Settings in SQL Server Books Online.

  • encoding
    Type: System.String

    The Microsoft .NET Framework encoding class name.

Return Value

Type: System.Byte[]

A Byte array of the stream in the specified format. For more information about this data type, see "Byte Structure" in the .NET Framework documentation.

Remarks

Examples of streams include images and charts.

See Also

ServerReport Class
Microsoft.Reporting.WinForms Namespace

Return to top