Gets or sets whether the content of the object is displayed.
HRESULT IHTMLCurrentStyle::get_visibility(BSTR *p);HRESULT IHTMLCurrentStyle::put_visibility(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
inherit Default. Object inherits the visibility of the next parent object. visible Object is visible. hidden Object is hidden. collapse Windows Internet Explorer 8. Used in tables to remove rows and columns; for all other elements, same as
Returns S_OK if successful, or an error value otherwise.
Objects that are not visible still reserve the same physical space in the content layout as they would if they were visible. For document style scripting information, see Introduction to Dynamic Styles.
As of Microsoft Internet Explorer 5, a child object can be
visiblewhen its parent is
hidden. With Internet Explorer 4.0, the parent object must be
visiblefor a child object to be