Home > Software engineering >  Application of VBA object model on PPT
Application of VBA object model on PPT

Time:09-30

I want to be in vc + + realize the pointer changes to drawing pen, and the slide show drawing pen color to red, I find the VBA object model, but there was no pointerType those interfaces, how to achieve

VBA object model
The Set currView=ActivePresentation. SlideShowSettings. Run. View

With currView

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

. PointerType=ppSlideShowPointerPen

End With

CodePudding user response:

I don't know how to implement, and the great spirit guide

CodePudding user response:

PointerType attribute
Please refer to the application in the sample feature
Gets or sets used in the slide show of read/write pointer type, PpSlideShowPointerType type,

PpSlideShowPointerType can be one of the following PpSlideShowPointerType type constant,
PpSlideShowPointerAlwaysHidden
PpSlideShowPointerArrow
PpSlideShowPointerAutoArrow
PpSlideShowPointerNone
PpSlideShowPointerPen

Expression. PointerType

Expression will choose, the expression returns "for" in the list of objects, one of the

Example
This example to the execution of the current presentation a slide show will change as the drawing pen, pointer and the slide show drawing pen color to red,

The Set currView=ActivePresentation. SlideShowSettings. Run. View
With currView
. PointerColor. RGB=RGB (255, 0, 0)
. PointerType=ppSlideShowPointerPen
End With
  • Related