Table of Contents

TDrawingColor.FromPreset Method

Overloads

TDrawingColor.FromPreset(TPresetColor)

Returns a color class with a specified preset color.

Syntax

Unit: FlexCel.Core

class function TDrawingColor.FromPreset(const aColor: TPresetColor): TDrawingColor; static; overload;

Parameters

<-> Parameter Type Description
const aColor TPresetColor Color that we want to set.

Returns

The corresponding preset color.

See also

TDrawingColor.FromPreset(TPresetColor, TColorTransformArray)

Returns a color class with an specified preset color.

Syntax

Unit: FlexCel.Core

class function TDrawingColor.FromPreset(const aColor: TPresetColor; const aTransforms: TArray<TColorTransform>): TDrawingColor; static; overload;

Parameters

<-> Parameter Type Description
const aColor TPresetColor Color that we want to set.
const aTransforms TArray<​TColor​Transform> Transformations you want to apply.

Returns

The corresponding preset color.

See also