EasyXLS

Themes

EasyXLS™ library allows you to set a theme for the workbook.

The look and feel of an Excel file can be changed by applying a theme. A theme includes color, font and effect settings.

EasyXLS provides methods for setting a theme to the workbook. A predefined built-in theme or a customized theme can be set.

This feature is available only for Office 2007 or later documents (xlsx, xlsm and xlsb files).

EasyXLS provides the following classes for storing the theme settings: ExcelTheme, ExcelColorScheme, ExcelFontScheme and ExcelEffectScheme.

Source code sample

The below example shows how to set a theme for the workbook.

C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python
 

Available for: Professional, Excel Writer, Excel Reader
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
.NET Excel Writer
.NET version to create and export Excel files
.NET Excel Reader
.NET version to read and import Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Java Excel Writer
Java version to create and export Excel files
Java Excel Reader
Java version to read and import Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

MS Excel 97 - 2003
MS Excel 2007 - 2010
MS Excel 2013
MS Excel 2016
MS Excel 2019
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT