.. highlightlang:: us .. index:: FontSetColorRGB .. _fontsetcolorrgb: FontSetColorRGB =============== .. us.tag FontSetColorRGB GERMAN FontSet :ref:`FontSetColorRGB` setzt die Farbe des Fonts. .. function:: bool = FontSetColorRGB(hFont, rvColorRGB) .. us.return **Returnwert** *bool* ist TRUE (1), wenn die Funktion erfolgreich war, und FALSE (0), wenn ein Fehler aufgetreten ist. .. us.params **Parameter** .. uparam:: hFont *hFont* ist die Zugriffsnummer (Handle) des mit :ref:`FontCreate` oder :ref:`FontDialog` erzeugten Fonts. .. uparam:: rvColorRGB *rvColorRGB* ein Vektor mit drei Elementen, der die Farbe des Fonts angibt: .. list-table:: :header-rows: 1 * - 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 .. seealso:: :ref:`uberblick-fonts`, :ref:`FontCreate`, :ref:`FontDialog`, :ref:`FontGetColorRGB` :sub:`id-1207154`