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.
- 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 - See visibility for details. The variable receives NULL if the attribute is not set.
See also put_visibility
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.
- 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 - 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.