Click or drag to resize

ActionSound Property

Gets or sets the sound to be played when the action is activated.

Default value is indicating that no sound shall be played when the action is activated.

To remove a sound from this action, set this property to .

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1041 (21.3.35.1041)
Syntax
public AudioContent Sound { get; set; }

Property Value

Type: AudioContent
The sound to be played when the action is activated.
Remarks

Sound is always stored in a Waveform Audio File Format (Wav) stream that is embedded in the presentation.

Do not set any member on the returned AudioContent because they are not supported in this context (for example, they won't be saved to a PPTX file).

To set a sound for the action, either use this property or the PlaySound(Stream) method.

See Also