FromKnownColor(KnownColor: GxKnownColor): IGxColor;
KnownColor - standard color.
The FromKnownColor method returns the object that contains the standard color.
Sub Main;
Var
Color: IGxColor;
Begin
Color:=GxColor.FromKnownColor(GxKnownColor.Black);
End Sub Main;
After executing the example the Color variable contains the standard black color.
See also: