Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 ToAll elements
Mediavisual
Inheritedtrue
Initial Valuenormal

Remarks

Windows Internet Explorer is shipped with a default IHTMLCurrentStyle::fontStyle, but you can change this default in Internet Options.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLRuleStyle::font

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.