共用方式為


ToPosition Class

To.When the object is serialized out as xml, its qualified name is p:to.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.88 to (To)

This element specifies the target location for an animation motion or animation scale effect

[Example: Consider an animation with a "light speed" entrance effect.

<p:animScale>
  <p:cBhvr>
    <p:cTn id="9" dur="200" decel="100000" autoRev="1" fill="hold">
      <p:stCondLst>
        <p:cond delay="600"/>
      </p:stCondLst>
    </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

ToPosition Members

DocumentFormat.OpenXml.Presentation Namespace