IHTMLStyle::get_textDecorationIHTMLStyle::get_textDecoration*
*



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.

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

Up Top of Page


IHTMLStyle::put_textDecoration


HRESULT put_textDecoration(
    BSTR v 
);

Sets the value of the CSS text-decoration attribute for the element.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.