IHTMLRuleStyle::get_whiteSpaceIHTMLRuleStyle::get_whiteSpace*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_whiteSpace
*Next Topic: IHTMLRuleStyle::put_top

IHTMLRuleStyle::get_whiteSpace


HRESULT get_whiteSpace(
    BSTR *p 
);

Retrieves the value of the CSS white-space attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
normal Consecutive white-space characters are replaced with a single space.
nowrap Linebreak characters are preserved, but consecutive spaces and tab characters are replaced with a single space.
pre All white-space characters (including line breaks) are preserved.
The variable receives NULL if the attribute is not set.

See also put_whiteSpace

Up Top of Page


IHTMLRuleStyle::put_whiteSpace


HRESULT put_whiteSpace( 
    BSTR v 
);

Sets the CSS white-space attribute for the element. The attribute determines whether and how white-space characters in the element are displayed.

v
String specifying the value of the attribute. Can be one of these strings:
normal Consecutive white-space characters are replaced with a single space.
nowrap Linebreak characters are preserved, but consecutive spaces and tab characters are replaced with a single space.
pre All white-space characters (including line breaks) are preserved.
Set this parameter to NULL to remove the attribute.

See also get_whiteSpace


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