次の方法で共有


AnimateScale Class

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

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.AnimateScale

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(ByPosition))> _
<ChildElementInfoAttribute(GetType(FromPosition))> _
<ChildElementInfoAttribute(GetType(ToPosition))> _
<ChildElementInfoAttribute(GetType(CommonBehavior))> _
Public Class AnimateScale _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As AnimateScale
[ChildElementInfoAttribute(typeof(ByPosition))]
[ChildElementInfoAttribute(typeof(FromPosition))]
[ChildElementInfoAttribute(typeof(ToPosition))]
[ChildElementInfoAttribute(typeof(CommonBehavior))]
public class AnimateScale : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • CommonBehavior <p:cBhvr>

  • ByPosition <p:by>

  • FromPosition <p:from>

  • ToPosition <p:to>

[ISO/IEC 29500-1 初版]

19.5.6 animScale (Animate Scale)

This animation element is responsible for animating the scale of an object. When animating the scale, the element shall scale around the reference point of the element and the positioning system used should be consistent with the one used for motion paths. When animating the width and height of an element, all of the width/height animation values are calculated first then the scale animations are applied on top of that. So for example, an animation from 0 to 100 of the width with a concurrent scale from 100% to 200% would result in the element appearing to scale from 0 to 200.

[Example: Consider trying to emphasize a shape by scaling it larger by 150%. The <animScale> element should be used as follows:

<p:childTnLst>
  <p:animScale>
    <p:cBhvr>
      <p:cTn id="6" dur="2000" fill="hold"/>
      <p:tgtEl>
        <p:spTgt spid="5"/>
      </p:tgtEl>
    </p:cBhvr>
    <p:by x="150000" y="150000"/>
  </p:animScale>
</p:childTnLst>

end example]

Parent Elements

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

Child Elements

Subclause

by (By)

§19.5.21

cBhvr (Common Behavior)

§19.5.22

from (From)

§19.5.44

to (To)

§19.5.88

Attributes

Description

zoomContents (Zoom Content)

This attribute specifies whether to zoom the contents of an object when doing a scaling animation.

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

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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.

See Also

Reference

AnimateScale Members

DocumentFormat.OpenXml.Presentation Namespace