Show / Hide Table of Contents

Class ExcelThemeManager

Handels themes in a package

Inheritance
System.Object
ExcelThemeManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Theme
Assembly: EPPlus.dll
Syntax
public class ExcelThemeManager

Properties

CurrentTheme

The current theme. Null if not theme exists. CreateDefaultTheme() Load(FileInfo) Load(Stream) Load(XmlDocument)

Declaration
public ExcelTheme CurrentTheme { get; }
Property Value
Type Description
ExcelTheme

Methods

CreateDefaultTheme()

Create the default theme.

Declaration
public void CreateDefaultTheme()

DeleteCurrentTheme()

Delete the current theme

Declaration
public void DeleteCurrentTheme()

Load(FileInfo)

Loads a .thmx file, exported from a Spread Sheet Application like Excel

Declaration
public void Load(FileInfo thmxFile)
Parameters
Type Name Description
System.IO.FileInfo thmxFile

The 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

Declaration
public void Load(Stream thmxStream)
Parameters
Type Name Description
System.IO.Stream thmxStream

The thmx file as a stream

Load(XmlDocument)

Loads a theme XmlDocument. Overwrites any previously set theme settings.

Declaration
public void Load(XmlDocument themeXml)
Parameters
Type Name Description
System.Xml.XmlDocument themeXml

The theme xml

Back to top Generated by DocFX