FontSetColorRGBΒΆ

FontSetColorRGB sets the font color.

bool = FontSetColorRGB(hFont, rvColorRGB)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hFont

Identifies the font.

rvColorRGB

rvColorRGB specifies the color of the font. rvColorRGB is a vector with three elements:

Value Meaning
rvColorRGB[1] Red (0 to 255)
rvColorRGB[2] Green (0 to 255)
rvColorRGB[3] Blue (0 to 255)

id-1207154