SoundAction Class

Office 2010

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

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

[ChildElementInfoAttribute(typeof(EndSoundAction))]
[ChildElementInfoAttribute(typeof(StartSoundAction))]
public class SoundAction : OpenXmlCompositeElement

The following table lists the possible child types:

  • StartSoundAction <p:stSnd>

  • EndSoundAction <p:endSnd>


[ISO/IEC 29500-1 1st Edition]

19.5.69 sndAc (Sound Action)

This element describes a sound action for slide transition. This element specifies that the start of the slide transition is accompanied by the playback of an audio file; the actual audio file used is specified by the snd element (§19.5.68).

[Example: Consider a slide transition with a sound effect. The <sndAc> 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

transition (§19.3.1.50)

Child Elements

Subclause

endSnd (Stop Sound Action)

§19.5.38

stSnd (Start Sound Action)

§19.5.76

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