ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Themes Namespace / Theme Class / Create Method
A System.String value indicating the URI of the theme.
A GrapeCity.ActiveReports.ResourceLocator object for locating theme resources.
Example

In This Topic
    Create Method (Theme)
    In This Topic
    Creates a theme using the specified theme URI and resource locator.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal themeUri As String, _
       ByVal locator As ResourceLocator _
    ) As Theme
    public static Theme Create( 
       string themeUri,
       ResourceLocator locator
    )

    Parameters

    themeUri
    A System.String value indicating the URI of the theme.
    locator
    A GrapeCity.ActiveReports.ResourceLocator object for locating theme resources.

    Return Value

    A new instance of Theme.
    Example
    Uri themeUri = new Uri("path/to/theme/file.rdlx-theme");
    ResourceLocator resourceLocator = GetResourceLocator();
    Theme theme = Theme.Create(themeUri, resourceLocator)
    See Also