Chart.Perspective Property (PowerPoint)
Returns or sets the perspective for the 3-D chart view. Read/write Long.
Version Information
Version Added: PowerPoint 2007
Syntax
expression .Perspective
expression A variable that represents a Chart object.
Remarks
The value of this property must be between 0 and 100. This property is ignored if the RightAngleAxes property is set to True.
Example
Note
Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.
The following example sets the perspective of the first chart in the active document to 70. You should run the example on a 3-D chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
.Chart.RightAngleAxes = False
.Chart.Perspective = 70
End If
End With