Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_textAlign Next Topic: IHTMLStyle::get_textDecorationBlink |
IHTMLStyle::get_textDecoration
HRESULT get_textDecoration( BSTR *p );Retrieves the value of the CSS text-decoration attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute, or NULL if the attribute is not set. See text-decoration for details.
See also put_textDecoration
IHTMLStyle::put_textDecoration
HRESULT put_textDecoration( BSTR v );Sets the value of the CSS text-decoration attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the text decorations. Can be "none" or one of the following strings:
underline overline line-through - See text-decoration for details. Set this parameter to NULL to remove the attribute.
See also get_textDecoration
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.