Table of contents
TOC
Collapse the table of content
Expand the table of content

ThreeDFormat.Visible Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets an MsoTriState constant indicating whether the specified object or the formatting applied to the specified object is visible. Read/write.

Syntax

expression. Visible

_expression_A variable that represents a ThreeDFormat object.

Remarks

The Visible property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.

ConstantDescription
msoFalseThe specified object or formatting is not visible.
msoTriStateMixedReturn value only. The specified shape range contains both objects with visible formatting and objects with invisible formatting.
msoTriStateToggleSet value only. Switches the specified object between visible and invisble.
msoTrueThe specified object or formatting is visible.

Example

This example sets the horizontal and vertical offsets for the shadow of shape three on the first page in the active publication. The shadow is offset 5 points to the right of the shape and 3 points above it. If the shape does not already have a shadow, this example adds one to it.

With ActiveDocument.Pages(1).Shapes(3).Shadow 
 .Visible = msoTrue 
 .OffsetX = 5 
 .OffsetY = -3 
End With
© 2018 Microsoft