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