IHTMLRuleStyle::get_displayIHTMLRuleStyle::get_display*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_display
*Next Topic: IHTMLRuleStyle::put_visibility

IHTMLRuleStyle::get_display


HRESULT get_display(
    BSTR *p 
);

Retrieves the value of the display attribute for the element.

p
Address of a variable that receives the value of the attribute. The variable receives "none" if the element is not being rendered, or NULL if it is. See display for details.

See also put_display

Up Top of Page


IHTMLRuleStyle::put_display


HRESULT put_display(
    BSTR v 
);

Sets the value of the CSS display attribute for the element. The attribute determines whether the element is rendered.

v
String specifying whether to render the element. If this parameter is "none", the element is not rendered; if NULL, it is rendered. See display for details.

Although you can apply the display attribute to parts of a table (such as a TR or TD element), changing the property has no effect on those parts. However, you can dynamically control the rendering of the entire table by applying the attribute to the TABLE element.

See also get_display


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