TargetElement Class

Target Element Trigger Choice.When the object is serialized out as xml, its qualified name is p:tgtEl.

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

[ChildElementInfoAttribute(typeof(ShapeTarget))]
[ChildElementInfoAttribute(typeof(BookmarkTarget), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SlideTarget))]
[ChildElementInfoAttribute(typeof(SoundTarget))]
[ChildElementInfoAttribute(typeof(InkTarget))]
public class TargetElement : OpenXmlCompositeElement

The following table lists the possible child types:

  • SlideTarget <p:sldTgt>

  • SoundTarget <p:sndTgt>

  • ShapeTarget <p:spTgt>

  • InkTarget <p:inkTgt>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.BookmarkTarget <p14:bmkTgt>


[ISO/IEC 29500-1 1st Edition]

19.5.81 tgtEl (Target Element)

This element specifies the target children elements which have the animation effects applied to.

[Example: Consider a shape with ID 3 with a fade effect animation applied to it. The <tgtEl> element 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

cBhvr (§19.5.22); cMediaNode (§19.5.29); cond (§19.5.31); endSync (§19.5.39)

Child Elements

Subclause

inkTgt (Ink Target)

§19.5.47

sldTgt (Slide Target)

§19.5.67

sndTgt (Sound Target)

§19.5.70

spTgt (Shape Target)

§19.5.72

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