StartSoundAction Class

Start Sound Action.When the object is serialized out as xml, its qualified name is p:stSnd.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Sound <p:snd>

[ISO/IEC 29500-1 1st Edition]

19.5.76 stSnd (Start Sound Action)

This element describes the sound that starts playing during a slide transition.

[Example: Consider a slide transition that starts with a sound effect. The <stSnd> element should be used as follows:

    <p:transition>
        <p:sndAc>
            <p:stSnd>
                <p:snd r:embed="rId2" r:link="rId3"/>
            </p:stSnd>
        </p:sndAc>
    </p:transition>

end example]

Parent Elements

sndAc (§19.5.69)

Child Elements

Subclause

snd (Sound)

§19.5.68

Attributes

Description

loop (Loop Sound)

This attribute specifies if the sound loops until the next sound event occurs in slideshow.

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_TransitionStartSoundAction) is located in §A.3. end note]

© ISO/IEC29500: 2008.

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

StartSoundAction Members

DocumentFormat.OpenXml.Presentation Namespace