Freigeben über


AnimateScale-Klasse

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

Vererbungshierarchie

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

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • CommonBehavior <p:cBhvr>

  • ByPosition <p:by>

  • FromPosition <p:from>

  • ToPosition <p:to>

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

AnimateScale-Member

DocumentFormat.OpenXml.Presentation-Namespace