Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_textDecorationBlink Next Topic: IHTMLStyle::get_textDecorationNone |
IHTMLStyle::get_textDecorationLineThrough
HRESULT get_textDecorationLineThrough( VARIANT_BOOL *p );Retrieves whether the element's CSS text-decoration attribute has a value of "line-through".
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives TRUE if the attribute has a value of "line-through", or FALSE if not. See text-decoration for details.
See also put_textDecorationLineThrough
IHTMLStyle::put_textDecorationLineThrough
HRESULT put_textDecorationLineThrough( VARIANT_BOOL v );Sets the value of the element's CSS text-decoration attribute to "line-through", or removes the "line-through" value from the attribute.
- Returns S_OK if successful, or an error value otherwise.
- v
- Boolean value. TRUE sets the attribute to "line-through"; FALSE removes the "line-through" value from the attribute. See text-decoration for details.
See also get_textDecorationLineThrough
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.