Freigeben über


fontVariant property

Specifies whether the text of the object is in small capital letters.

Syntax

Integer value = object.put_fontVariant( v);Integer value = object.get_fontVariant(* sVariant);

Property values

Type: BSTR

normal (normal)

Default. Font is normal.

small-caps (small-caps)

Font is in small capital letters.

String format

normal | small-caps

CSS information

Applies To All elements
Media visual
Inherited 1
Initial Value

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLRuleStyle::font