Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

ColorToString

ColorToString - given a color value, returns a corresponding color name like 'Green'

Declaration

Source position: graphics.pp line 1965

function ColorToString(

  Color: TColor

):AnsiString;

Arguments

Color

  

The Color to examine in the routine.

Function result

Returns the name of the color, expressed as a string (like 'Green').



CT Web help

CodeTyphon Studio