我要在VC++中實作將指標改變為繪圖示,并將該幻燈片放映的繪圖示顏色設為紅色,我查找了VBA物件模型,但是并沒有pointerType那些介面,該如何去實作
VBA物件模型
Set currView = ActivePresentation.SlideShowSettings.Run.View
With currView
.PointerColor.RGB = RGB(255, 0, 0)
.PointerType = ppSlideShowPointerPen
End With
uj5u.com熱心網友回復:
我不知道如何去實作,求大神指導一下uj5u.com熱心網友回復:
PointerType 屬性請參閱 應用于 示例 特性
回傳或設定在幻燈片放映中使用的指標型別可讀寫。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
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/99728.html
上一篇:MFC 工具列
