ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Themes Namespace / Theme Class / Load Method
A XML System.IO.Stream containing the theme data.
Example

In This Topic
    Load Method (Theme)
    In This Topic
    Loads a theme from the specified XML stream.
    Syntax
    'Declaration
     
    Public Shared Function Load( _
       ByVal stream As Stream _
    ) As Theme
    public static Theme Load( 
       Stream stream
    )

    Parameters

    stream
    A XML System.IO.Stream containing the theme data.

    Return Value

    A Theme object representing the loaded theme.
    Example
    using FileStream fileStream = new FileStream(""path/to/theme/file.rdlx-theme"", FileMode.Open, FileAccess.Read);
    Theme theme = Theme.Load(fileStream)
    See Also