Freigeben über


Audio-Klasse

Audio.When the object is serialized out as xml, its qualified name is p:audio.

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CommonMediaNode))> _
Public Class Audio _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Audio
[ChildElementInfoAttribute(typeof(CommonMediaNode))]
public class Audio : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • CommonMediaNode <p:cMediaNode>

[ISO/IEC 29500-1 1. Ausgabe]

19.5.9 audio (Audio)

This element is used to include audio during an animation. This element specifies that this node within the animation tree triggers the playback of an audio file; the actual audio file used is specified by the sndTgt element (§19.5.70).

[Example: Consider adding applause sound to an animation sequence. The audio element is used as follows:

<p:cTn …>
  <p:stCondLst>…</p:stCondLst>
  <p:childTnLst>…</p:childTnLst>
  <p:subTnLst>
    <p:audio>
      <p:cMediaNode vol="11000">…
        <p:tgtEl>
      <p:sndTgt r:embed="rId2" />
        </p:tgtEl>
      </p:cMediaNode>
    </p:audio>
  </p:subTnLst>
</p:cTn>

The audio element specifies the location of the audio playback within the animation; its child sndTgt element specifies that the audio to be played is the target of the relationship with ID rId2.

end example]

Parent Elements

childTnLst (§19.5.25); subTnLst (§19.5.78); tnLst (§19.5.87)

Child Elements

Subclause

cMediaNode (Common Media Node Properties)

§19.5.29

Attributes

Description

isNarration (Is Narration)

This attribute indicates whether the audio is a narration for the slide.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element's content model (CT_TLMediaNodeAudio) 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.

Siehe auch

Referenz

Audio-Member

DocumentFormat.OpenXml.Presentation-Namespace