Partager via


AnimationSettings.AnimationOrder Property

Returns or sets an integer that represents the position of the specified shape within the collection of shapes to be animated. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property AnimationOrder As Integer
    Get
    Set
'Usage
Dim instance As AnimationSettings
Dim value As Integer

value = instance.AnimationOrder

instance.AnimationOrder = value
int AnimationOrder { get; set; }

Property Value

Type: System.Int32

Remarks

You won't see effects of setting this property unless the specified shape gets animated. For a shape to be animated, the TextLevelEffect property of the AnimationSettings object for the shape must be set to something other than ppAnimateLevelNone and the Animate property must be set to true.

Note

Setting the AnimationOrder property to a value that is less than the greatest existing AnimationOrder property value can shift the animation order.

See Also

Reference

AnimationSettings Interface

AnimationSettings Members

Microsoft.Office.Interop.PowerPoint Namespace