fontStyle property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the font style of the object as italic, normal, or oblique.
Syntax
Integer value = object.put_fontStyle(BSTR v);Integer value = object.get_fontStyle(BSTR* 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 | 1 |
| Initial Value |
Remarks
The oblique value is available as of Microsoft Internet Explorer 4.0. Internet Explorer 4.0 renders italic and oblique identically.
While, Windows Internet Explorer is shipped with a default font-style, this default can be changed by accessing Internet Options.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
See also
Build date: 1/23/2012
Community Additions
Show: