Vcl.Graphics.ColorToIdent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ColorToIdent(Color: Longint; var Ident: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall ColorToIdent(int Color, System::UnicodeString &Ident);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

Provides the symbolic name of a TColor value.

Call ColorToIdent to obtain the name of the symbolic constant that represents a TColor value, such as clBlack or clWindow. The Ident parameter is set to the symbolic name. If there is no symbolic constant defined for the color, ColorToIdent returns false.

See Also