textDecoration property
Sets or retrieves whether the text in the object renders with a line-through, overline, or underline decoration.
Syntax
HRESULT value = object.put_textDecoration(BSTR v);HRESULT value = object.get_textDecoration(BSTR* p);
Property values
Type: BSTR
One of the values in the Property Values section.
Remarks
If the object is empty or does not contain text, this property has no effect.
Decorations added via IHTMLRenderStyle objects are in addition to any decorations displayed for the content by default (for instance, because of CSS rules). There is no way to remove default decorations, nor does querying this property return information about default decorations.
See also
Reference
IHTMLRenderStyle::textDecorationColor