次の方法で共有


ShapeTarget Class

Shape Target.When the object is serialized out as xml, its qualified name is p:spTgt.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.ShapeTarget

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(BackgroundAnimation))> _
<ChildElementInfoAttribute(GetType(GraphicElement))> _
<ChildElementInfoAttribute(GetType(SubShape))> _
<ChildElementInfoAttribute(GetType(OleChartElement))> _
<ChildElementInfoAttribute(GetType(TextElement))> _
Public Class ShapeTarget _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As ShapeTarget
[ChildElementInfoAttribute(typeof(BackgroundAnimation))]
[ChildElementInfoAttribute(typeof(GraphicElement))]
[ChildElementInfoAttribute(typeof(SubShape))]
[ChildElementInfoAttribute(typeof(OleChartElement))]
[ChildElementInfoAttribute(typeof(TextElement))]
public class ShapeTarget : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • BackgroundAnimation <p:bg>

  • SubShape <p:subSp>

  • OleChartElement <p:oleChartEl>

  • TextElement <p:txEl>

  • GraphicElement <p:graphicEl>

[ISO/IEC 29500-1 初版]

19.5.72 spTgt (Shape Target)

The element specifies the shape in which to apply a certain animation to.

[Example: Consider a shape whose id is 3 in 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

ShapeTarget Members

DocumentFormat.OpenXml.Presentation Namespace