StringPrototype.fontcolor(Object, Object) Methode

Definition

Konvertiert das angegebene Objekt in Text, der in Schriftarttags eingeschlossen ist, und weist dem Ankerelement das angegebene Farbattribut zu.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

public:
 static System::String ^ fontcolor(System::Object ^ thisob, System::Object ^ colorName);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_fontcolor)]
public static string fontcolor (object thisob, object colorName);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_fontcolor)>]
static member fontcolor : obj * obj -> string
Public Shared Function fontcolor (thisob As Object, colorName As Object) As String

Parameter

thisob
Object

Das Objekt, für den diese Methode ausgeführt wird.

colorName
Object

Das Farbattribut des Schriftartelements.

Gibt zurück

Eine Zeichenfolge im Format "<FONT COLOR=""++"</FONT>"colorName+"">"+thisob.

Attribute

Gilt für:

Weitere Informationen