[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rdl.Themes.Theme.Create

Create Method

Create(string, ResourceLocator)

Creates a theme using the specified theme URI and resource locator.

Declaration
public static Theme Create(string themeUri, ResourceLocator locator)
Parameters
Type Name Description
string themeUri

A string value indicating the URI of the theme.

ResourceLocator locator

A ResourceLocator object for locating theme resources.

Returns
Type Description
Theme

A new instance of Theme.

Examples
Uri themeUri = new Uri("path/to/theme/file.rdlx-theme");
ResourceLocator resourceLocator = GetResourceLocator();
Theme theme = Theme.Create(themeUri, resourceLocator)