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.
- Returns S_OK if successful, or an error value otherwise.
- 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
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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.