PlaySettings.ActionVerb Property
Returns or sets a string that contains the OLE verb that will be run when the specified OLE object is animated during a slide show. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property ActionVerb As String
Get
Set
'Usage
Dim instance As PlaySettings
Dim value As String
value = instance.ActionVerb
instance.ActionVerb = value
string ActionVerb { get; set; }
Property Value
Type: System.String
Remarks
The default verb specifies the action that the OLE object runs — such as playing a wave file or displaying data so that the user can modify it — after the previous animation or slide transition.
Examples
This example specifies that shape three on slide one in the active presentation will automatically open for editing when it is animated. Shape three must be an OLE object that contains a sound or movie object and that supports the "Edit" verb.
Set OLEobj = ActivePresentation.Slides(1).Shapes(3)
With OLEobj.AnimationSettings.PlaySettings
.PlayOnEntry = True
.ActionVerb= "Edit"
End With