ColorHelperGetColorFromHex Method |
Namespace:
Dundas.BI.Utility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntaxpublic static Color GetColorFromHex(
string hexValue
)
Public Shared Function GetColorFromHex (
hexValue As String
) As Color
public:
static Color GetColorFromHex(
String^ hexValue
)
static member GetColorFromHex :
hexValue : string -> Color
Parameters
- hexValue
- Type: SystemString
Hex value representation of a color.
Return Value
Type:
ColorThe color defined by the hex value.
Exceptions| Exception | Condition |
|---|
| ArgumentException | hexValue does not contain valid hex representation of a color. |
See Also