ThreeDFormat.Perspective property (PowerPoint)
Determines whether the extrusion appears in perspective. Read/write.
Syntax
expression.Perspective
expression A variable that represents a ThreeDFormat object.
Return value
MsoTriState
Remarks
The value of the Perspective property can be one of these MsoTriState constants.
Constant | Description |
---|---|
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. |
Example
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for