textDecorationColor property

Sets or retrieves the color of the line-through, overline, or underline decorations of the object.

Syntax

HRESULT value = object.put_textDecorationColor(VARIANT v);HRESULT value = object.get_textDecorationColor(VARIANT* p);

Property values

Type: VARIANT

One of the values in the Property Values section.

Remarks

The decoration color applies to all decorations rendered for the text, whether default decorations from HTML and CSS or those coming from other IHTMLRenderStyle objects. Multiple styles can contribute different decorations, but only a single color will apply to them all (determined by the highest priority style property).

See also

IHTMLRenderStyle::textDecoration