ThreeDFormat.Perspective property (Publisher)
Returns msoTrue if the extrusion appears in perspective—that is, if the walls of the extrusion narrow toward a vanishing point.
Returns msoFalse if the extrusion is a parallel, or orthographic, projection—that is, if the walls don't narrow toward a vanishing point. Read/write.
Syntax
expression.Perspective
expression A variable that represents a ThreeDFormat object.
Return value
Example
This example sets the extrusion depth for shape one on the first page to 100 points and specifies that the extrusion be parallel, or orthographic. For this example to work, the specified shape must be a 3D shape.
Sub ChangePerspective()
With ActiveDocument.Pages(1).Shapes(1).ThreeD
.Visible = True
.Depth = 100
.Perspective = msoFalse
End With
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.