ActionSetting.Action Property

Returns or sets the type of action that will occur when the specified shape is clicked or the mouse pointer is positioned over the shape 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 Action As PpActionType
    Get
    Set
'Usage
Dim instance As ActionSetting
Dim value As PpActionType

value = instance.Action

instance.Action = value
PpActionType Action { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpActionType

Remarks

The Action property value can be one of the following PpActionType constants.

ppActionEndShow

ppActionFirstSlide

ppActionHyperlink

ppActionLastSlide

ppActionLastSlideViewed

ppActionMixed

ppActionNamedSlideShow

ppActionNextSlide

ppActionNone

ppActionOLEVerb

ppActionPlay

ppActionPreviousSlide

ppActionRunMacro

ppActionRunProgram

You can use the Action property in conjunction with other properties of the ActionSetting object, as shown in the following table.

If you set the Action property to this value

Use this property

To do this

ppActionHyperlink

Hyperlink

Set properties for the hyperlink that will be followed in response to a mouse action on the shape during a slide show.

ppActionRunProgram

Run

Return or set the name of the program to run in response to a mouse action on the shape during a slide show.

ppActionRunMacro

Run

Return or set the name of the macro to run in response to a mouse action on the shape during a slide show.

ppActionOLEVerb

ActionVerb

Set the OLE verb that will be invoked in response to a mouse action on the shape during a slide show.

ppActionNamedSlideShow

SlideShowName

Set the name of the custom slide show that will run in response to a mouse action on the shape during a slide show.

See Also

Reference

ActionSetting Interface

ActionSetting Members

Microsoft.Office.Interop.PowerPoint Namespace