Sets or retrieves whether the text in the object renders with a line-through, overline, or underline decoration.
HRESULT IHTMLRenderStyle::get_textDecoration(BSTR *p);HRESULT IHTMLRenderStyle::put_textDecoration(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.
none Default. Text has no additional decoration provided. This does not remove any decorations provided by Cascading Style Sheets (CSS) rules. underline Text has a line drawn below it. overline Text has a line drawn over it. line-through Text has a line drawn through it. blink Not currently implemented.
Returns S_OK if successful, or an error value otherwise.
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.