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

Chart.Walls 属性 (PowerPoint)Chart.Walls Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回三维图表的背景墙。只读的墙壁Returns the walls of the 3-D chart. Read-only Walls.

语法Syntax

表达式墙壁expression. Walls

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

示例Example

请注意 尽管下面的代码适用于 Microsoft Word 中,您可以随时修改将其应用到 PowerPoint。Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

以下示例将活动文档中第一个图表的背景墙边框的颜色设置为红色。应在三维图表上运行该示例。The following example sets the color of the wall border of the first chart in the active document to red. You should run the example on a 3-D chart.

With ActiveDocument.InlineShapes(1)
    If .HasChart Then
        .Chart.Walls.Border. _
            ColorIndex = 3
    End If
End With

另请参阅See also

概念Concepts

Chart 对象Chart Object

© 2018 Microsoft