Class ExcelThemeManager
- Namespace
- OfficeOpenXml.Drawing.Theme
- Assembly
- EPPlus.dll
Handels themes in a package
public class ExcelThemeManager
- Inheritance
-
ExcelThemeManager
- Inherited Members
Properties
CurrentTheme
The current theme. Null if not theme exists. CreateDefaultTheme() Load(FileInfo) Load(Stream) Load(XmlDocument)
public ExcelTheme CurrentTheme { get; }
Property Value
Methods
CreateDefaultTheme()
Create the default theme.
public void CreateDefaultTheme()
DeleteCurrentTheme()
Delete the current theme
public void DeleteCurrentTheme()
Load(FileInfo)
Loads a .thmx file, exported from a Spread Sheet Application like Excel
public void Load(FileInfo thmxFile)
Parameters
thmxFile
FileInfoThe path to the thmx file
Load(Stream)
Loads a .thmx file as a stream. Thmx files are exported from a Spread Sheet Application like Excel
public void Load(Stream thmxStream)
Parameters
thmxStream
StreamThe thmx file as a stream
Load(XmlDocument)
Loads a theme XmlDocument. Overwrites any previously set theme settings.
public void Load(XmlDocument themeXml)
Parameters
themeXml
XmlDocumentThe theme xml