ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Themes Namespace / XmlThemeWriter Class / WriteTheme Method
A Theme object to save.
A System.IO.FileInfo object representing the file where the theme will be saved.
Example

In This Topic
    WriteTheme Method
    In This Topic
    Saves the specified theme to the specified file.
    Syntax
    'Declaration
     
    Public Shared Sub WriteTheme( _
       ByVal theme As Theme, _
       ByVal fileInfo As FileInfo _
    ) 
    public static void WriteTheme( 
       Theme theme,
       FileInfo fileInfo
    )

    Parameters

    theme
    A Theme object to save.
    fileInfo
    A System.IO.FileInfo object representing the file where the theme will be saved.
    Example
    var themeFileInfo = new FileInfo("path/for/theme.rdlx-theme");
    XmlThemeWriter.WriteTheme(yourTheme, themeFileInfo);
    See Also