title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ThreeDFormat.Perspective property (Publisher) |
vbapb10.chm3801347 |
|
|
5a85f7fa-2c72-e9b0-75f0-e6d6680ecd99 |
06/15/2019 |
medium |
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.
expression.Perspective
expression A variable that represents a ThreeDFormat object.
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
[!includeSupport and feedback]