StringPrototype.fontcolor(Object, Object) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Convierte el objeto especificado en texto entre etiquetas de fuente y asigna al elemento el atributo de color especificado.
Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.
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
Parámetros
- thisob
- Object
Objeto en el que actúa este método.
- colorName
- Object
Atributo de color del elemento de fuente.
Devoluciones
Cadena con el formato "<FONT COLOR=""+
+"</FONT>"
colorName
+"">"+
thisob
.
- Atributos