Share via


fontWeight property

Gets the weight of the text in the object.

Syntax

HRESULT value = object.get_fontWeight(long* p);

Property values

Type: long

A pointer to a variable of type long that receives the weight of the font.

See also

IHTMLCurrentStyle::fontWeight