Animate Class
Animate.When the object is serialized out as xml, its qualified name is p:anim.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.Animate
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(CommonBehavior))> _
<ChildElementInfoAttribute(GetType(TimeAnimateValueList))> _
Public Class Animate _
Inherits OpenXmlCompositeElement
用法
Dim instance As Animate
[ChildElementInfoAttribute(typeof(CommonBehavior))]
[ChildElementInfoAttribute(typeof(TimeAnimateValueList))]
public class Animate : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
CommonBehavior <p:cBhvr>
TimeAnimateValueList <p:tavLst>
[ISO/IEC 29500-1 第 1 个版本]
19.5.1 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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.