hi
I think that all data from Timing object (RepeatCount, Restart, etc.) are misread from powerpoint file.
what do you think ?
here is the presentation and screenshots
thank you, regards
And please allow pptx and videos files in your fileuploader, this is boring, i can’t upload it here !
you give the link to upload the powerpoint file please ?
Data not read:
image.png (4.7 KB)
Aspose.Slides bug ibehavior.jpg (134.2 KB)
and here is code:
// Set slide sequence
IEnumerator<IEffect> effects = vf.Slide.Timeline.MainSequence.GetEnumerator();
IEffect effect = null;
IBehavior behavior = null;
while (effects.MoveNext())
{
IEffect item = effects.Current;
if (item.TargetShape.Name == vf.Name)
{
effect = item;
//old
IBehaviorCollection behaviours = item.Behaviors;
IEnumerable<IBehavior> behavioursEnum = behaviours.AsEnumerable();
using (var sequenceEnum = behavioursEnum.GetEnumerator())
{
while (sequenceEnum.MoveNext())
{
// Do something with sequenceEnum.Current.
IBehavior local_behavior = sequenceEnum.Current;
behavior = local_behavior;
Debug.WriteLine(local_behavior);
}
}
}
}