MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / StyleSheet Class / Load Method
A System.IO.Stream object to load from.
Example

Load Method (StyleSheet)
Loads a StyleSheet object from a System.IO.Stream.
Syntax
'Declaration
 
Public Shared Function Load( _
   ByVal stream As Stream _
) As StyleSheet
 

Parameters

stream
A System.IO.Stream object to load from.

Return Value

A loaded StyleSheet object.
Exceptions
ExceptionDescription
Throws if stream is null.
Example
using (var stream = new MemoryStream(Encoding.Unicode.GetBytes(embeddedStyleSheet.Data)))
{
    var styleSheet = StyleSheet.Load(stream);
}
See Also