S
S.Creek
Hi,
i have a problem repeating both in VB and C#
once i am adding an after effect option to my shape, it changes the
trigger that i have set to the shape, in the following code that im
using, i am setting a Start with previous trigger, but as soon as i add
the after effect, the trigger is changed to after previous.
anyone knows why? is this a power point automation bug? or am i doing
something wrong,
Please help
oSeq =
oApp.ActiveWindow.Selection.SlideRange.TimeLine.InteractiveSequences.Add(1)
shp =
oApp.ActiveWindow.Selection.SlideRange(1).Shapes.AddPicture("c:\Yellow
Marker 1_4.png", False, True, 150, 150, 500, 350)
oEff =
oApp.ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence.AddEffect(Shape:=shp,
effectId:=AnimEffect.msoAnimEffectAppear,
Trigger:=AnimTrigger.msoAnimTriggerWithPrevious)
Dim PpAfterEffect As New PowerPoint.PpAfterEffect
shp.AnimationSettings.AfterEffect =
PpAfterEffect.ppAfterEffectHideOnClick
i have a problem repeating both in VB and C#
once i am adding an after effect option to my shape, it changes the
trigger that i have set to the shape, in the following code that im
using, i am setting a Start with previous trigger, but as soon as i add
the after effect, the trigger is changed to after previous.
anyone knows why? is this a power point automation bug? or am i doing
something wrong,
Please help
oSeq =
oApp.ActiveWindow.Selection.SlideRange.TimeLine.InteractiveSequences.Add(1)
shp =
oApp.ActiveWindow.Selection.SlideRange(1).Shapes.AddPicture("c:\Yellow
Marker 1_4.png", False, True, 150, 150, 500, 350)
oEff =
oApp.ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence.AddEffect(Shape:=shp,
effectId:=AnimEffect.msoAnimEffectAppear,
Trigger:=AnimTrigger.msoAnimTriggerWithPrevious)
Dim PpAfterEffect As New PowerPoint.PpAfterEffect
shp.AnimationSettings.AfterEffect =
PpAfterEffect.ppAfterEffectHideOnClick