[]
Reads a theme from the specified file.
public static Theme ReadTheme(FileInfo themefileInfo)
Type | Name | Description |
---|---|---|
FileInfo | themefileInfo | The FileInfo object representing the file that contains the theme. |
Type | Description |
---|---|
Theme | A Theme object representing the parsed theme. |
var themeFileInfo = new FileInfo("path/to/theme.rdlx-theme");
var theme = XmlThemeReader.ReadTheme(themeFileInfo);
Type | Condition |
---|---|
FileNotFoundException | Thrown if the specified file does not exist. |
IOException | Thrown if an I/O error occurs while opening the file. |