SetBehavior class
Set Time Node Behavior. When the object is serialized out as xml, its qualified name is p:set.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.SetBehavior
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
set (Set Time Node Behavior)
This element allows the setting of a particular property value to a fixed value while the behavior is active and restores the value when the behavior is reset or turned off.
[Example: For example, suppose we want to set certain properties during an animation effect. The <set> element should be used as follows:
<p:childTnLst>
<p:set>
<p:cBhvr>
<p:cTn id="6" dur="1" fill="hold">
… </p:cTn>
<p:tgtEl>
<p:spTgt spid="4"/>
</p:tgtEl>
<p:attrNameLst>
<p:attrName>style.visibility</p:attrName>
</p:attrNameLst>
</p:cBhvr>
<p:to>
<p:strVal val="visible"/>
</p:to>
</p:set>
<p:animEffect transition="in" filter="blinds(horizontal)">
… </p:animEffect>
</p:childTnLst>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 |
to (To) | §19.5.89 |
[Note: The W3C XML Schema definition of this element’s content model (CT_TLSetBehavior) is located in §A.3. end note]
© ISO/IEC29500: 2008.