M
mauro.fiore
I'm trying to use, in a single slide, more shapes and for everyone I
set the Timing.Duration property.
Now in the first shape all work well, but in the second shape the value
don't set up.
Can anyone help me,
Thank's all
Mauro
PS: during the execution all work but the Timing.Duration value of the
2nd shape remain to its default value (0.5 sec.)
// 1st shape
objEffect_2.Timing.TriggerDelayTime = 0;
objEffect_2.Timing.Duration = 1.5;
.... works well
// ----- 2nd shape
PowerPoint.Shape objShape_2 =
objShapes.AddTextbox(MsoTextOrientation.msoTextOrientationHorizontal,250,200,350,50);
objTextRng = objShape_2.TextFrame.TextRange;
objTextRng.Text = "perhaps .....";
objTextRng.Font.Name = "Comic Sans MS";
objTextRng.Font.Size = 48;
PowerPoint.Effect objEffect_2 =
objSlide.TimeLine.MainSequence.AddEffect( objShape_2,
MsoAnimEffect.msoAnimEffectFly, MsoAnimateByLevel.msoAnimateLevelNone,
MsoAnimTriggerType.msoAnimTriggerAfterPrevious, 2);
objEffect_2.Timing.TriggerDelayTime = 2;
objEffect_2.Timing.Duration = 2; // this don't work
!!!??????
set the Timing.Duration property.
Now in the first shape all work well, but in the second shape the value
don't set up.
Can anyone help me,
Thank's all
Mauro
PS: during the execution all work but the Timing.Duration value of the
2nd shape remain to its default value (0.5 sec.)
// 1st shape
objEffect_2.Timing.TriggerDelayTime = 0;
objEffect_2.Timing.Duration = 1.5;
.... works well
// ----- 2nd shape
PowerPoint.Shape objShape_2 =
objShapes.AddTextbox(MsoTextOrientation.msoTextOrientationHorizontal,250,200,350,50);
objTextRng = objShape_2.TextFrame.TextRange;
objTextRng.Text = "perhaps .....";
objTextRng.Font.Name = "Comic Sans MS";
objTextRng.Font.Size = 48;
PowerPoint.Effect objEffect_2 =
objSlide.TimeLine.MainSequence.AddEffect( objShape_2,
MsoAnimEffect.msoAnimEffectFly, MsoAnimateByLevel.msoAnimateLevelNone,
MsoAnimTriggerType.msoAnimTriggerAfterPrevious, 2);
objEffect_2.Timing.TriggerDelayTime = 2;
objEffect_2.Timing.Duration = 2; // this don't work
!!!??????