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

Selection.SlideRange 属性 (PowerPoint)Selection.SlideRange Property (PowerPoint)

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

返回代表单元格区域的选择的幻灯片的SlideRange对象。只读的。Returns a SlideRange object that represents a range of selected slides. Read-only.

语法Syntax

表达式SlideRangeexpression. SlideRange

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

返回值Return Value

SlideRangeSlideRange

注解Remarks

可以在幻灯片视图、 幻灯片浏览视图、 普通视图、 备注页视图或大纲视图中构造幻灯片范围。在幻灯片视图中, SlideRange返回一个幻灯片 — — 当前显示的幻灯片。A slide range can be constructed in slide view, slide sorter view, normal view, notes page view, or outline view. In slide view, SlideRange returns one slide — the current, displayed slide.

示例Example

本示例设置第一个窗口中所有选定幻灯片的背景配色方案。This example sets the background scheme color for all the selected slides in window one.

Windows(1).Selection.SlideRange.ColorScheme _
    .Colors(ppBackground).RGB = RGB(0, 0, 255)

另请参阅See also

概念Concepts

Selection 对象Selection Object

© 2018 Microsoft