FromPosition Class

Defines the FromPosition Class.When the object is serialized out as xml, its qualified name is p:from.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.44 from (From)

This element specifies an x/y co-ordinate to start the animation from.

[Example: Consider a shape with an animation sequence that needs to start at a certain coordinate. The <from> element should be used as follows:

<p:animScale>
  <p:cBhvr>
    <p:cTn> … </p:cTn>
    <p:tgtEl>
      <p:spTgt spid="4"/>
    </p:tgtEl>
  </p:cBhvr>
  <p:from x="100000" y="100000"/>
  <p:to x="80000" y="100000"/>
</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

FromPosition Members

DocumentFormat.OpenXml.Presentation Namespace