'Declaration
Public Class ThemeColor Implements IReadonlyThemeColor
'Usage
Dim instance As ThemeColor
public class ThemeColor : IReadonlyThemeColor
'Declaration
Public Class ThemeColor Implements IReadonlyThemeColor
'Usage
Dim instance As ThemeColor
public class ThemeColor : IReadonlyThemeColor
var workbook = Workbook.Create( "test.xlsx" ) // Get the first worksheet. A workbook contains at least 1 worksheet. var cellWorksheet = workbook.Worksheets[ 0 ]; cellWorksheet.Cells[ "C18" ].Value = "Using theme color and tint"; cellWorksheet.Cells[ "C18" ].Style.Font = new Font() { ThemeColor = new ThemeColor( ThemeColorType.Accent2, -0.5d ) }; workbook.Save();
System.Object
Xceed.Workbooks.NET.ThemeColor
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2