Animate class

Office 2013 and later

Animate. When the object is serialized out as xml, its qualified name is p:anim.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

anim (Animate)

This element is a generic animation element that requires little or no semantic understanding of the attribute being animated.  It can animate text within a shape or even the shape itself.

[Example: Consider trying to emphasize text within a shape by changing the size of its font by 150%. The <anim> element should be used as follows:

  <p:anim to="1.5" calcmode="lin" valueType="num">
    <p:cBhvr override="childStyle">
      <p:cTn id="1" dur="2000" fill="hold"/>
      <p:tgtEl>
        <p:spTgt spid="1">
          <p:txEl>
            <p:charRg st="1" end="4"/>
          </p:txEl>
        </p:spTgt>
      </p:tgtEl>
      <p:attrNameLst>
        <p:attrName>style.fontSize</p:attrName>
      </p:attrNameLst>
    </p:cBhvr>
  </p:anim>

end example]

Parent Elements

childTnLst (§19.5.25); subTnLst (§19.5.78); tnLst (§19.5.87)

Child Elements

Subclause

cBhvr (Common Behavior)

§19.5.22

tavLst (Time Animated Value List)

§19.5.80

Attributes

Description

by (By)

This attribute specifies a relative offset value for the animation with respect to its position before the start of the animation.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

calcmode (Calculation Mode)

This attribute specifies the interpolation mode for the animation.

The possible values for this attribute are defined by the ST_TLAnimateBehaviorCalcMode simple type (§19.7.20).

from (From)

This attribute specifies the starting value of the animation.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

to (To)

This attribute specifies the ending value for the animation as a percentage.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

valueType (Value Type)

This attribute specifies the type of property value.

The possible values for this attribute are defined by the ST_TLAnimateBehaviorValueType simple type (§19.7.21).

[Note: The W3C XML Schema definition of this element’s content model (CT_TLAnimateBehavior) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: