textUnderlineStyle property

Sets or retrieves the appearance of the underline decoration of the object.


HRESULT value = object.put_textUnderlineStyle(BSTR v);HRESULT value = object.get_textUnderlineStyle(BSTR* p);

Property values

Type: BSTR

One of the values in the Property Values section.


This property specifies the style of the text underline decoration. To turn this decoration on or off, use the IHTMLRenderStyle::textDecoration property.

In Internet Explorer 6, This property supports the thick-dash value.

Setting this property only affects HTML and CSS outlines when the IHTMLRenderStyle::textDecoration property is set to underline.