Gets or sets whether this element should be visible or hidden.
Syntax
Remarks
Specifies trueTruetrue if this element should be visible in the document, and falseFalsefalse if it should be hidden.
For purposes of document layout (such as text composition or runaround), a hidden element is completely absent.
Document navigation methods such as NextSiblingElement traverse all elements, visible or not.
Note that an element will be visible only if it and all ancestor elements have Visible set to trueTruetrue. Setting Visible to falseFalsefalse hides this element and all descendent elements. For example, if Visible is falseFalsefalse on a TextFrame, the frame and all contained text will be hidden regardless of the value of Visible on the contained text elements. Use IsVisible to determine whether a given element is actually visible.
Exceptions
Exception | Condition |
---|---|
StaleScriptingObjectException | This object's associated internal object no longer exists. |
See Also
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)