次の方法で共有


Sound Class

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

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Presentation.EmbeddedWavAudioFileType
DocumentFormat.OpenXml.Presentation.Sound

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

Syntax

'宣言
Public Class Sound _
    Inherits EmbeddedWavAudioFileType
'使用
Dim instance As Sound
public class Sound : EmbeddedWavAudioFileType

Remarks

[ISO/IEC 29500-1 初版]

19.5.68 snd (Sound)

This element specifies the audio information to play during a slide transition.

[Example: Consider a slide transition with an audio effect. The <snd> 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

stSnd (§19.5.76)

Attributes

Description

embed (Embedded Audio File Relationship ID)

Namespace: .../officeDocument/2006/relationships

Specifies the identification information for an embedded audio file. This attribute is used to specify the location of an object that resides locally within the file. [Note: A list of suggested audio types is provided in §15.2.2. end note]

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

name (Sound Name)

Namespace: .../drawingml/2006/main

Specifies the original name or given short name for the corresponding sound. This is used to distinguish this sound from others by providing a human readable name for the attached sound should the user need to identify the sound among others within the UI.

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

[Note: The W3C XML Schema definition of this element's content model (CT_EmbeddedWAVAudioFile) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

Sound Members

DocumentFormat.OpenXml.Presentation Namespace