IGxColorClass.FromKnownColor

Syntax

FromKnownColor(KnownColor: GxKnownColor): IGxColor;

Parameters

KnownColor. Standard color.

Description

The FromKnownColor method returns the object that contains the standard color.

Example

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:

IGxColorClass