RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.ColorToIdent Function

Provides the symbolic name of a TColor value.

Pascal
function ColorToIdent(Color: Longint; var Ident: string): Boolean;
C++
Boolean ColorToIdent(Longint Color, AnsiString Ident);

Graphics

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!