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 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:

IGxColorClass