StringPrototype.fontcolor(Object, Object) Metodo

Definizione

Converte l'oggetto specificato in testo racchiuso tra tag di carattere e assegna all'elemento di ancoraggio l'attributo del colore specificato.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

thisob
Object

Oggetto su cui agisce questo metodo.

colorName
Object

Attributo del colore dell'elemento del tipo di crattere.

Restituisce

Stringa nel formato "<FONT COLOR=""++"</FONT>"colorName+"">"+thisob.

Attributi

Si applica a

Vedi anche