ShapeTarget-Klasse
Shape Target.When the object is serialized out as xml, its qualified name is p:spTgt.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.ShapeTarget
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(BackgroundAnimation))> _
<ChildElementInfoAttribute(GetType(GraphicElement))> _
<ChildElementInfoAttribute(GetType(SubShape))> _
<ChildElementInfoAttribute(GetType(OleChartElement))> _
<ChildElementInfoAttribute(GetType(TextElement))> _
Public Class ShapeTarget _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As ShapeTarget
[ChildElementInfoAttribute(typeof(BackgroundAnimation))]
[ChildElementInfoAttribute(typeof(GraphicElement))]
[ChildElementInfoAttribute(typeof(SubShape))]
[ChildElementInfoAttribute(typeof(OleChartElement))]
[ChildElementInfoAttribute(typeof(TextElement))]
public class ShapeTarget : OpenXmlCompositeElement
Hinweise
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 1. Ausgabe]
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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.