SoundAction class
Collapse the table of content
Expand the table of content

SoundAction class

Office 2013 and later

Defines the SoundAction Class. 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)

public class SoundAction : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

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:snd r:embed="rId2" r:link="rId3"/>

end example]

Parent Elements

transition (§

Child Elements


endSnd (Stop Sound Action)


stSnd (Start Sound Action)


[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.
© 2015 Microsoft