返回或设置在幻灯片放映中使用的指针类型可读写。PpSlideShowPointerType 类型。
PpSlideShowPointerType 可以是下列 PpSlideShowPointerType 类型常数之一。 |
ppSlideShowPointerAlwaysHidden |
ppSlideShowPointerArrow |
ppSlideShowPointerAutoArrow |
ppSlideShowPointerNone |
ppSlideShowPointerPen |
expression.PointerType
expression 必选。该表达式返回“应用于”列表中的对象之一。
本示例执行当前演示文稿的一个幻灯片放映,将指针改变为绘图笔,并将该幻灯片放映的绘图笔颜色设为红色。
Set currView = ActivePresentation.SlideShowSettings.Run.View
With currView
.PointerColor.RGB = RGB(255, 0, 0)
.PointerType = ppSlideShowPointerPen
End With