Perspective Property

Microsoft Excel Visual Basic

Show All

Perspective Property

       

Perspective property as it applies to the ThreeDFormat object.

Determines whether the extrusion appears in perspective. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue Does not apply to this property.
msoFalse The extrusion is a parallel, or orthographic, projection—that is, the walls don't narrow toward a vanishing point. 
msoTriStateMixed
msoTriStateToggle
msoTrue The extrusion appears in perspective—that is, the walls of the extrusion narrow toward a vanishing point

expression.Perspective

expression   Required. An expression that returns a ThreeDFormat object.

Perspective property as it applies to the Chart object.

Returns or sets the perspective for the 3-D chart view. Must be between 0 and 100. This property is ignored if the RightAngleAxes property is True. Read/write Long.

expression.Perspective

expression   Required. An expression that returns a Chart object.

Example

As it applies to the Chart object.

This example sets the perspective of Chart1 to 70. The example should be run on a 3-D chart.

Charts("Chart1").RightAngleAxes = False
Charts("Chart1").Perspective = 70