'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
Name | Description | |
---|---|---|
![]() | ThemeColor Constructor | Creates a ThemeColor by specifying its Type and possible Tint. |
Name | Description | |
---|---|---|
![]() | Tint | Gets or sets the ThemeColor's tint. |
![]() | Type | Gets or sets the ThemeColorType. |
Name | Description | |
---|---|---|
![]() | Equals | Evaluates if the current ThemeColor is the same as a given ThemeColor. |
![]() | GetHashCode | Serves as the default hash function. |
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