[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

ColorToString

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

Declaration

Source position: graphics.pp line 1936

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').


Version 3.2 Generated 2024-02-25 Home