[]
Represents an action that plays a sound.
public class ActionSound : ActionBase, IPdfDict
Public Class ActionSound
Inherits ActionBase
Implements IPdfDict
Name | Description |
---|---|
ActionSound() | Initializes a new instance of the ActionSound. |
ActionSound(SoundObject) | Initializes a new instance of the ActionNamed. |
Name | Description |
---|---|
Mix | Gets or sets a value specifying whether to mix this sound with any other sound already playing. If false, any previously playing sound shall be stopped before starting this sound; this can be used to stop a repeating sound (see Repeat). The default is false. |
Repeat | Gets or sets a value specifying whether to repeat the sound indefinitely. If true, the Synchronous property shall be ignored. The default is false. |
Sound | Gets or sets the SoundObject object specifying the sound to play. |
Synchronous | Gets or sets a value specifying whether to play the sound synchronously or asynchronously. If true, the interactive PDF processor retains control, allowing no further user interaction other than canceling the sound, until the sound has been completely played. The default is false. |
Volume | Gets or sets the volume at which to play the sound, in the range from -1.0 to 1.0. |