Share via


ThreeDFormat.Perspective Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(1).ThreeD
    .Visible = True
    .Depth = 100
    .Perspective = msoFalse
End With

See Also