MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / StreamExtension Class / ToArray Method
The stream to convert.

In This Topic
ToArray Method (StreamExtension)
In This Topic
Converts the specified stream to a byte array.
Syntax
'Declaration
 
Public Shared Function ToArray( _
   ByVal stream As Stream _
) As Byte()
 

Parameters

stream
The stream to convert.

Return Value

A byte array containing the contents of the stream.
See Also