Table of contents
TOC
折叠目录
展开目录

Chart.Perspective 属性 (项目)Chart.Perspective Property (Project)

office 365 dev account|上次更新日期: 2017/9/25
|
1 参与者

获取或设置一个值,该值表示三维图表视图的透视系数。读/写Gets or sets a value that represents the perspective for the 3-D chart view. Read/write Long.

语法Syntax

表达式角度来看expression. Perspective

表达式_一个表示图表对象的变量。_expression A variable that represents a Chart object.

注解Remarks

全景属性的值必须是介于 0 和 100 之间。如果RightAngleAxes属性为True,则忽略的角度来看The value of the Perspective property must be between 0 and 100. Perspective is ignored if theRightAngleAxes property is True.

示例Example

下面的示例将图表的角度设置为 20。本示例应在三维图表上运行。The following example sets the perspective of the chart to 20. The example should be run on a 3-D chart.

Sub SetPerspective()
    Dim chartShape As Shape
    Dim reportName As String

    reportName = "Simple 3-D chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)

    chartShape.Chart.RightAngleAxes = False
    chartShape.Chart.Perspective = 20
End Sub

属性值Property value

INTINT

另请参阅See also

其他资源Other resources

Chart 对象Chart Object

© 2018 Microsoft