/// <summary> /// Add an action to carry out when a shape is clicked with the mouse /// </summary> /// <param name="shape">shape in</param> /// <param name="action">the action to carry out when the shape is clicked</param> public void AddMouseOverActionToShape(PPT.Shape shape, PPT.PpActionType action) { shape.ActionSettings[PPT.PpMouseActivation.ppMouseOver].Action = action; }
/// <summary> /// Add an action to carry out when a shape is clicked with the mouse /// </summary> /// <param name="shape">shape in</param> /// <param name="action">the action to carry out when the shape is clicked</param> public void AddClickedActionToShape(PPT.Shape shape, PPT.PpActionType action) { shape.ActionSettings[PPT.PpMouseActivation.ppMouseClick].Action = action; }