Sets or retrieves the appearance of the underline decoration of the object.
HRESULT IHTMLRenderStyle::get_textUnderlineStyle(BSTR *p);HRESULT IHTMLRenderStyle::put_textUnderlineStyle(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
undefined Default. Text decoration displays as a normal underline equivalent to one set via HTML or Cascading Style Sheets (CSS). In Windows Internet Explorer 8 in IE8 Standards mode and later, the line thickness is based on the font size. single Text has one line drawn below it. The line is 1 document pixel (px) thick, regardless of the text's font size. double Not currently implemented. words Not currently implemented. dotted Text has a dotted line drawn below it. thick Not currently implemented. dash Not currently implemented. dot-dash Not currently implemented. dot-dot-dash Not currently implemented. wave Text has a wavy line drawn below it. single-accounting Not currently implemented. double-accounting Not currently implemented. thick-dash Microsoft Internet Explorer 6 and later. Text has a dashed line drawn below it that has thicker width.
Returns S_OK if successful, or an error value otherwise.
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
Setting this property only affects HTML and CSS outlines when the IHTMLRenderStyle::textDecoration property is set to