ByPosition Class

By.When the object is serialized out as xml, its qualified name is p:by.

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

public class ByPosition : TimeListType

[ISO/IEC 29500-1 1st Edition]

19.5.21 by (By)

This element describes the relative offset value for the animation.

[Example: Consider a shape with an animation effect that scales the size of an object by 150%. The <by> element should be used as follows:

<p:animScale>
  <p:cBhvr>
    <p:cTn id="6" dur="2000" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="4"/>
    </p:tgtEl>
  </p:cBhvr>
  <p:by x="150.000%" y="150.000%"/>
</p:animScale>

end example]

Parent Elements

animMotion (§19.5.4); animScale (§19.5.6)

Attributes

Description

x (X coordinate)

This attribute describes the X coordinate.

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

y (Y coordinate)

This attribute describes the Y coordinate.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TLPoint) 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.

Community Additions

ADD
Show:
© 2014 Microsoft