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

Master.ColorScheme 属性 (PowerPoint)Master.ColorScheme Property (PowerPoint)

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

返回或设置代表指定的幻灯片、 幻灯片范围,或幻灯片母版的配色方案颜色添加的配色方案。读/写。Returns or sets the ColorScheme object that represents the scheme colors for the specified slide, slide range, or slide master. Read/write.

语法Syntax

表达式要添加的配色expression. ColorScheme

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

返回值Return Value

要添加的配色ColorScheme

示例Example

以下示例将当前演示文稿第一张和第三张幻灯片的标题颜色设为绿色。This example sets the title color to green for slides one and three in the active presentation.

Set mySlides = ActivePresentation.Slides.Range(Array(1, 3))

mySlides.ColorScheme.Colors(ppTitle).RGB = RGB(0, 255, 0)

另请参阅See also

概念Concepts

主对象Master Object

© 2018 Microsoft