IHTMLStyle::get_lineHeightIHTMLStyle::get_lineHeight*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_letterSpacing
*Next Topic: IHTMLStyle::get_listStyle

IHTMLStyle::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. The variable receives NULL if the attribute is not set.

See also put_lineHeight

Up Top of Page


IHTMLStyle::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.