ActionSetting Interface

Contains information about how the specified shape or text range reacts to mouse actions during a slide show.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("9149348D-5A91-11CF-8700-00AA0060263B")> _
Public Interface ActionSetting
'Usage
Dim instance As ActionSetting
[GuidAttribute("9149348D-5A91-11CF-8700-00AA0060263B")]
public interface ActionSetting

Remarks

The ActionSetting object is a member of the ActionSettings collection. The ActionSettings collection contains one ActionSetting object that represents how the specified object reacts when the user clicks it during a slide show and one ActionSetting object that represents how the specified object reacts when the user moves the mouse pointer over it during a slide show.

If you've set properties of the ActionSetting object that don't seem to be taking effect, make sure that you've set the Action property to the appropriate value.

Examples

Use ActionSettings(index), where index is the either ppMouseClick or ppMouseOver, to return a single ActionSetting object. The following example sets the mouse-click action for the text in the third shape on slide one in the active presentation to an Internet link.

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

        .TextFrame.TextRange.ActionSettings(ppMouseClick)

    .Action = ppActionHyperlink

    .Hyperlink.Address = "https://www.microsoft.com"

End With

See Also

Reference

ActionSetting Members

Microsoft.Office.Interop.PowerPoint Namespace