Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_letterSpacing Next Topic: IHTMLRuleStyle::put_textDecoration |
IHTMLRuleStyle::get_letterSpacing
HRESULT get_letterSpacing( VARIANT *p );Retrieves the value of the CSS letter-spacing 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 letter-spacing for details.
See also put_letterSpacing
IHTMLRuleStyle::put_letterSpacing
HRESULT put_letterSpacing( VARIANT v );Sets the value of the CSS letter-spacing attribute for the element. The attribute determines the amount of space to add to the default space between letters in the element's text.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the amount of space to add. A negative value is valid. Set this parameter to NULL to remove the attribute. See letter-spacing for details.
See also get_letterSpacing
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.