RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.WebColorNameToColor Function

Returns the TColor from a web color name.

Pascal
function WebColorNameToColor(WebColorName: string): TColor;
C++
TColor WebColorNameToColor(AnsiString WebColorName);

WebColorNameToColor returns the TColor from a string containing a web color name.  

WebColorName represent the web color name in the form of a string. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!