lcColorGetRed Home

Returns Red component of the color.

 int lcColorGetRed (
   LPCWSTR szColor
 );

Parameters
szColor
  Color value as string.

Return Value

  The color Red component, value 0 - 255.
Always 0 for indexed color.

See Also

  ColorslcColorGetGreenlcColorGetBluelcColorToVal