ChartToolsConvertFromString Method |
LightningChart .NET Help
Convert Hex to Winforms color
Namespace:
Arction.WinForms.Charting
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static Color ConvertFromString(
string hex
)
Public Shared Function ConvertFromString (
hex As String
) As Color
public:
static Color ConvertFromString(
String^ hex
)
Parameters
- hex
- Type: SystemString
Hex string
Return Value
Type:
ColorConverted color. If unable to convert a color channel (a, r, g, b), returns 0 to that channel.
See Also