FontSetColorRGB¶
FontSetColorRGB setzt die Farbe des Fonts.
-
bool = FontSetColorRGB(hFont, rvColorRGB)
Returnwert
bool ist TRUE (1), wenn die Funktion erfolgreich war, und FALSE (0), wenn ein Fehler aufgetreten ist.
Parameter
-
hFont
hFont ist die Zugriffsnummer (Handle) des mit FontCreate oder FontDialog erzeugten Fonts.
-
rvColorRGB
rvColorRGB ein Vektor mit drei Elementen, der die Farbe des Fonts angibt:
Wert Bedeutung rvColorRGB[1] Rotanteil der Farbe im Bereich 0 bis 255 rvColorRGB[2] Grünanteil der Farbe im Bereich 0 bis 255 rvColorRGB[3] Blauanteil der Farbe im Bereich 0 bis 255
Siehe auch
id-1207154