共用方式為


SlideShowView.PointerType 屬性 (PowerPoint)

會傳回或設定用於投影片放映中的指標類型。 讀取/寫入。

語法

expressionPointerType

一個代表 SlideShowView 物件的變數。

傳回值

PpSlideShowPointerType

註解

PointerType 屬性的值可以是下列其中一個 PpSlideShowPointerType 常數。

ppSlideShow,永遠隱藏的指標
ppSlideShow指箭頭
ppSlideShow指標自動箭頭
ppSlideShowPointerNone
ppSlideShow PointerPen

範例

本範例會執行作用中的簡報的投影片放映、將指標變更為畫筆,以及將此投影片放映的畫筆顏色設為紅色。

Set currView = ActivePresentation.SlideShowSettings.Run.View

With currView

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

    .PointerType = ppSlideShowPointerPen

End With

另請參閱

SlideShowView 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應