Xceed Workbooks for .NET v1.4 Documentation
ToHtmlColor(Workbook,ThemeColor) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > ColorHelper Class > ToHtmlColor Method : ToHtmlColor(Workbook,ThemeColor) Method
The Workbook that contains the ThemeColor to convert.
The ThemeColor to convert.
Converts a ThemeColor into an HTML string.
Syntax
'Declaration

 

Public Overloads Shared Function ToHtmlColor( _

   ByVal workbook As Workbook, _

   ByVal themeColor As ThemeColor _

) As String
'Usage

 

Dim workbook As Workbook

Dim themeColor As ThemeColor

Dim value As String

 

value = ColorHelper.ToHtmlColor(workbook, themeColor)
public static string ToHtmlColor( 

   Workbook workbook,

   ThemeColor themeColor

)

Parameters

workbook
The Workbook that contains the ThemeColor to convert.
themeColor
The ThemeColor to convert.

Return Value

The HTML string that represents the converted ThemeColor.
Requirements

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

See Also

Reference

ColorHelper Class
ColorHelper Members
Overload List