IHTMLRuleStyle::get_lineHeightIHTMLRuleStyle::get_lineHeight*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_lineHeight
*Next Topic: IHTMLRuleStyle::put_marginTop

IHTMLRuleStyle::get_lineHeight


HRESULT get_lineHeight(
    VARIANT *p 
);

Retrieves the value of the CSS line-height attribute for the element.

p
Address of a variable that receives the value of the attribute. See line-height for details. This parameter receives NULL if the attribute is not set.

See also put_lineHeight

Up Top of Page


IHTMLRuleStyle::put_lineHeight


HRESULT put_lineHeight(
    VARIANT v 
);

Sets the value of the CSS line-height attribute for the element. The attribute determines the distance between the baselines of subsequent lines of text. Use a negative line height to achieve various shadowing effects.

v
String or value specifying the line height. The height can be positive or negative. Set this parameter to NULL to remove the attribute.

See also get_lineHeight


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