Skip to content

SetTextOverlay_FontColor

function

Delphi
procedure SetTextOverlay_FontColor (Index: LongInt; Value: TColor);
C++Builder
void __fastcall SetTextOverlay_FontColor(System::LongInt Index, System::Uitypes::TColor Value);
C#
public void SetTextOverlay_FontColor(int Index, int Value);
VB.NET
Public Sub SetTextOverlay_FontColor(Index As Integer, Value As Integer)
C++/Qt
void SetTextOverlay_FontColor (int Index, int Value);
void SetTextOverlay_FontColor (int Value);

Sets the font color of the text overlay specified by Index (0 for the 1st text overlay, 1 for the 2nd, etc.), in all versions.

The other attributes of the font (name, size, style) are set with SetTextOverlay_Font; in Delphi and C++Builder, the color of the TFont passed to SetTextOverlay_Font is not used.