visibility property
[This documentation is preliminary and is subject to change.]
Sets or retrieves whether the content of the object is displayed.
Syntax
Integer value = object.put_visibility(BSTR v);Integer value = object.get_visibility(BSTR* sVisibility);
Property values
Type: BSTR
inherit (inherit)
-
Default. Object inherits the visibility of the next parent object.
visible (visible)
-
Object is visible.
hidden (hidden)
-
Object is hidden.
collapse (collapse)
-
Internet Explorer 8. Used in tables to remove tr and col; for all other elements, same as hidden.
String format
visible | hidden | collapse | inherit
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Remarks
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.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
Build date: 1/23/2012
Community Additions
Show: