Sequence Class

Represents sequence (collection of effects).
Inheritance Hierarchy
SystemObject
  Aspose.Slides.AnimationSequence

Namespace:  Aspose.Slides.Animation
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public sealed class Sequence : IEnumerable, 
	IEnumerable<IEffect>, ISequence

The Sequence type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the number of effects in a sequense. Read-only Int32.
Public propertyItem
Returns an effect at the specified index.
Public propertyTriggerShape
Returns or sets shape target for INTERACTIVE sequence. If sequence is not interactive then returns null. Read/write IShape.
Methods
  NameDescription
Public methodCode exampleAddEffect(IParagraph, EffectType, EffectSubtype, EffectTriggerType)
Add new animation effect for paragraph to the end of sequence.
Public methodAddEffect(IShape, EffectType, EffectSubtype, EffectTriggerType)
Add new effect to the end of sequence.
Public methodAddEffect(IChart, EffectChartMajorGroupingType, Int32, EffectType, EffectSubtype, EffectTriggerType)
Adds the new chart animation effect for category or series to the end of sequence.
Public methodAddEffect(IChart, EffectChartMinorGroupingType, Int32, Int32, EffectType, EffectSubtype, EffectTriggerType)
Adds the new chart animation effect for elements in category or series to the end of sequence.
Public methodClear
Removes all effects from a collection.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCount
Returns count of effects for the specified shape.
Public methodGetEffectsByParagraph
Returns array of effects for the specified paragraph.
Public methodGetEffectsByShape
Returns array of effects for the specified shape.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes specified effect from a collection.
Public methodRemoveAt
Removes an effect from a collection.
Public methodRemoveByShape
Remove effect for the specified shape.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also