-
Notifications
You must be signed in to change notification settings - Fork 302
Using Themes
Jan Källman edited this page Jan 27, 2020
·
10 revisions
EPPlus 5 support creating and loading themes. Themes can be created or loaded via the Workbook.ThemeManager.
A theme can be exported from Excel using the thmx format an then loaded via EPPLus:
package.Workbook.ThemeManager.Load(FileInputUtil.GetFileInfo("15-ChartsAndThemes", "integral.thmx"));The theme can then be altered via the ThemeManager.CurrentTheme property
//Change the color of the Accent1 theme color.
package.Workbook.ThemeManager.CurrentTheme.ColorScheme.Accent1.SetRgbColor(Color.FromArgb(32, 78, 224));EPPlus Software AB - https://epplussoftware.com
- What is new in EPPlus 5+
- Breaking Changes in EPPlus 5
- Breaking Changes in EPPlus 6
- Breaking Changes in EPPlus 7
- Breaking Changes in EPPlus 8
- Addressing a worksheet
- Dimension/Used range
- Copying ranges/sheets
- Insert/Delete
- Filling ranges
- Sorting ranges
- Taking and skipping columns/rows
- Data validation
- Comments
- Freeze and Split Panes
- Header and Footer
- Hyperlinks
- Autofit columns
- Grouping and Ungrouping Rows and Columns
- Formatting and styling
- The ExcelRange.Text property
- Conditional formatting
- Using Themes
- Working with custom named table- or slicer- styles