Поделиться через


HyperlinkSound Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.EmbeddedWavAudioFileType
        DocumentFormat.OpenXml.Drawing.HyperlinkSound

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

Syntax

'Declaration
Public Class HyperlinkSound _
    Inherits EmbeddedWavAudioFileType
'Usage
Dim instance As HyperlinkSound
public class HyperlinkSound : EmbeddedWavAudioFileType

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.2.2.32 snd (Hyperlink Sound)

This element specifies a sound to be played when a hyperlink within the document is activated. This sound is specified from within the parent hyperlink element.

Parent Elements

hlinkClick (§21.1.2.3.5); hlinkHover (§20.1.2.2.23); hlinkMouseOver (§21.1.2.3.6)

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)

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.

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

HyperlinkSound Members

DocumentFormat.OpenXml.Drawing Namespace