fontStyle property
Sets or retrieves the font style of the object as italic, normal, or oblique.
Syntax
Integer value = object.put_fontStyle( v);Integer value = object.get_fontStyle(* sStyle);
Property values
Type: BSTR
normal (normal)
-
Default. Font is normal.
italic (italic)
-
Font is italic.
oblique (oblique)
-
Font is italic.
String format
normal | italic | oblique
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | true |
| Initial Value | normal |
Remarks
Windows Internet Explorer is shipped with a default IHTMLCSSStyleDeclaration::fontStyle, but you can change this default in Internet Options.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Build date: 11/12/2012