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

SlideShowView.PointerType 属性 (PowerPoint)SlideShowView.PointerType Property (PowerPoint)

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

返回或设置在幻灯片放映中使用的指针类型。可读/写。Returns or sets the type of pointer used in the slide show. Read/write.

语法Syntax

表达式PointerTypeexpression. PointerType

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

返回值Return Value

PpSlideShowPointerTypePpSlideShowPointerType

注解Remarks

PointerType属性的值可以是其中一个PpSlideShowPointerType常量。The value of the PointerType property can be one of these PpSlideShowPointerType constants.

|| |:-----| |ppSlideShowPointerAlwaysHiddenppSlideShowPointerAlwaysHidden| |ppSlideShowPointerArrowppSlideShowPointerArrow| |ppSlideShowPointerAutoArrowppSlideShowPointerAutoArrow| |ppSlideShowPointerNoneppSlideShowPointerNone| |ppSlideShowPointerPenppSlideShowPointerPen|

示例Example

本示例执行当前演示文稿的一个幻灯片放映,将指针改变为绘图笔,并将该幻灯片放映的绘图笔颜色设为红色。This example runs a slide show of the active presentation, changes the pointer to a pen, and sets the pen color for this slide show to red.

Set currView = ActivePresentation.SlideShowSettings.Run.View

With currView

    .PointerColor.RGB = RGB(255, 0, 0)

    .PointerType = ppSlideShowPointerPen

End With

另请参阅See also

概念Concepts

SlideShowView 对象SlideShowView Object

© 2018 Microsoft