[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Actions.ActionSound

ActionSound Class

Represents an action that plays a sound.

Inheritance
ActionSound
Implements
Namespace: GrapeCity.Documents.Pdf.Actions
Assembly: DS.Documents.Pdf.dll
Syntax
public class ActionSound : ActionBase, IPdfDict
Public Class ActionSound
    Inherits ActionBase
    Implements IPdfDict

Constructors

Name Description
ActionSound()

Initializes a new instance of the ActionSound.

ActionSound(SoundObject)

Initializes a new instance of the ActionNamed.

Properties

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.

Extension Methods