ByPosition Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.TimeListType
        DocumentFormat.OpenXml.Presentation.ByPosition

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

Syntax

'Declaration
Public Class ByPosition _
    Inherits TimeListType
'Usage
Dim instance As ByPosition
public class ByPosition : TimeListType

Remarks

[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.

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

ByPosition Members

DocumentFormat.OpenXml.Presentation Namespace