Share via


ActionSetting.ActionVerb Property

Returns or sets a string that contains the OLE verb that will be run when the user clicks the specified shape or passes the mouse pointer over it 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 ActionSetting
Dim value As String

value = instance.ActionVerb

instance.ActionVerb = value
string ActionVerb { get; set; }

Property Value

Type: System.String

Remarks

The Action property must be set to ppActionOLEVerb first for this property to affect the slide show action.

Examples

This example sets shape three on slide one to be played whenever the mouse pointer passes over it during a slide show. Shape three must represent an OLE object that supports the "Play" verb.

With ActivePresentation.Slides(1).Shapes(3) _

        .ActionSettings(ppMouseOver)

    .ActionVerb= "Play"

    .Action = ppActionOLEVerb

End With

See Also

Reference

ActionSetting Interface

ActionSetting Members

Microsoft.Office.Interop.PowerPoint Namespace