Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_visibility Next Topic: IHTMLRuleStyle::put_listStyleType |
IHTMLRuleStyle::get_visibility
HRESULT get_visibility( BSTR *p );Retrieves the value of the visibility attribute 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, which can be one of these strings:
visible hidden inherit - The variable receives NULL if the attribute is not set. See visibility for details.
See also put_visibility
IHTMLRuleStyle::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.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying whether the element is visible. Can be one of these strings:
visible hidden inherit - Set this parameter to NULL to remove the attribute. See visibility for details.
Space is reserved for the element's content regardless of the value of the visibility attribute.
See also get_visibility
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.