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