IHTMLStyle::get_visibilityIHTMLStyle::get_visibility*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_verticalAlign
*Next Topic: IHTMLStyle::get_whiteSpace

IHTMLStyle::get_visibility


HRESULT get_visibility( 
    BSTR *p 
);

Retrieves the value of the visibility attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
visible
hidden
inherit
See visibility for details. The variable receives NULL if the attribute is not set.

See also put_visibility

Up Top of Page


IHTMLStyle::put_visibility


HRESULT put_visibility(
    BSTR v 
);

Sets the value of the CSS visibility attribute for the element. The attribute determines whether the content of the element is visible.

v
String specifying whether the element is visible. Can be one of these strings:
visible
hidden
inherit
See visibility for details. Set this parameter to NULL to remove the attribute.

Space is reserved for the element's content regardless of the value of the visibility attribute.

See also get_visibility


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