Example #1
0
 /// <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;
 }
Example #2
0
 /// <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;
 }