ThreeDFormat.Perspective property (PowerPoint)
Determines whether the extrusion appears in perspective. Read/write.
expression A variable that represents a ThreeDFormat object.
The value of the Perspective property can be one of these MsoTriState constants.
|msoFalse||The extrusion is a parallel, or orthographic, projection; that is, if the walls don't narrow toward a vanishing point.|
|msoTrue||The extrusion appears in perspective; that is, if the walls of the extrusion narrow toward a vanishing point.|
This example sets the extrusion depth for shape one on myDocument to 100 points and specifies that the extrusion be parallel, or orthographic.
Set myDocument = ActivePresentation.Slides(1) With myDocument.Shapes(1).ThreeD .Visible = True .Depth = 100 .Perspective = msoFalse End With
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.