FromName(ColorName: String): IGxColor;
ColorName - color name.
The FromName method returns the object that contains the color, which name is passed by the ColorName parameter.
Sub Main;
Var
Color: IGxColor;
Begin
Color:=GxColor.FromName("Black");
End Sub Main;
After executing the example the Color variable contains the black color.
See also: