Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_left Next Topic: IHTMLStyle::get_lineHeight |
IHTMLStyle::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
IHTMLStyle::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. See letter-spacing for details. Set this parameter to NULL to remove the attribute.
See also get_letterSpacing
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.