title | ms.service | ms.assetid | ms.date | ms.localizationpriority |
---|---|---|---|---|
Chart.Perspective property (Project) |
project-server |
a6a07c7a-ca79-d6aa-e6ef-1aa26b716852 |
06/08/2017 |
medium |
Gets or sets a value that represents the perspective for the 3D chart view. Read/write Long.
expression.Perspective
expression A variable that represents a Chart object.
The value of the Perspective property must be between 0 and 100. Perspective is ignored if the RightAngleAxes property is True.
The following example sets the perspective of the chart to 20. The example should be run on a 3D chart.
Sub SetPerspective()
Dim chartShape As Shape
Dim reportName As String
reportName = "Simple 3D chart"
Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
chartShape.Chart.RightAngleAxes = False
chartShape.Chart.Perspective = 20
End Sub
INT
[!includeSupport and feedback]