hidden Property
Returns or sets a String that represents whether an embedded object is visible when displayed in a browser.
expression.hidden
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
The String for the hidden property can be one of the following values:
Value | Description |
---|---|
false
|
Object is displayed. |
true
|
Object is hidden. |
Example
The following example hides the first EMBED element in the active document so that when the page is viewed in a browser, the embedded object will not be visible.
Dim objEmbed As FPHTMLEmbed
Set objEmbed = ActiveDocument.embeds.Item(0)
objEmbed.hidden = "true"