ShapeTarget class
Shape Target. When the object is serialized out as xml, its qualified name is p:spTgt.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.ShapeTarget
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
spTgt (Shape Target)
The element specifies the shape in which to apply a certain animation to.
[Example: Consider a shape whose id is which we want to apply a fade animation effect. The <spTgt> should be used as follows:
<p:animEffect transition="in" filter="fade">
<p:cBhvr>
<p:cTn id="7" dur="2000"/>
<p:tgtEl>
<p:spTgt spid="3"/>
</p:tgtEl>
</p:cBhvr>
</p:animEffect>end example]
Parent Elements |
|---|
tgtEl (§19.5.81) |
Child Elements | Subclause |
|---|---|
bg (Background) | §19.5.10 |
graphicEl (Graphic Element) | §19.5.45 |
oleChartEl (Embedded Chart Element) | §19.5.52 |
subSp (Subshape) | §19.5.77 |
txEl (Text Element) | §19.5.91 |
Attributes | Description |
|---|---|
spid (Shape ID) | This attribute specifies the shape identifier. The possible values for this attribute are defined by the ST_ShapeID simple type (§20.1.10.55). |
[Note: The W3C XML Schema definition of this element’s content model (CT_TLShapeTargetElement) is located in §A.3. end note]
© ISO/IEC29500: 2008.