Sequence

Sequence class

表示序列(效果的集合)。

public sealed class Sequence : ISequence

特性

姓名描述
Count { get; }返回序列中的效果数。 只读Int32。
Item { get; }返回指定索引处的效果。
TriggerShape { get; set; }返回或设置交互式序列的形状目标。 如果序列不是交互式的,则返回 null。 读/写IShape

方法

姓名描述
AddEffect(IParagraph, EffectType, EffectSubtype, EffectTriggerType)为段落添加新的动画效果到序列的末尾。
AddEffect(IShape, EffectType, EffectSubtype, EffectTriggerType)在序列末尾添加新效果。
AddEffect(IChart, EffectChartMajorGroupingType, int, EffectType, EffectSubtype, EffectTriggerType)将类别或系列的新图表动画效果添加到序列末尾。
AddEffect(IChart, EffectChartMinorGroupingType, int, int, EffectType, EffectSubtype, EffectTriggerType)将类别或系列元素的新图表动画效果添加到序列末尾。
Clear()从集合中移除所有效果。
GetCount(IShape)返回指定形状的效果计数。
GetEffectsByParagraph(IParagraph)返回指定段落的效果数组。
GetEffectsByShape(IShape)返回指定形状的效果数组。
GetEnumerator()返回一个遍历集合的枚举器。
Remove(IEffect)从集合中移除指定效果。
RemoveAt(int)从集合中移除效果。
RemoveByShape(IShape)移除指定形状的效果。

也可以看看