ExcelFile.SetTheme Method
This is an advanced method, that allows you to set the full theme in use. Normally you will just want to replace colors, and you can do this with SetColorTheme(TPrimaryThemeColor, TDrawingColor) and GetColorTheme(TPrimaryThemeColor) methods.
Syntax
Namespace: FlexCel.Core
public abstract void SetTheme(TTheme aTheme)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aTheme | TTheme | Theme to set. You would normally use the result from GetTheme here, or you might load a method from a ".tmx" file. There are many standard tmx files available in an Office installation under the "Document Themes Version" folder |