Click or drag to resize

PdfSoundAction Class

Represents the sound action.
Inheritance Hierarchy
System Object
Spire.Pdf.Actions PdfAction
Spire.Pdf.Actions PdfSoundAction

Namespace: Spire.Pdf.Actions
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfSoundAction : PdfAction

The PdfSoundAction type exposes the following members.

Constructors
Name Description
Public method PdfSoundAction
Initializes a new instance of theclass.
Top
Properties
Name Description
Public property FileName
Gets or sets the name of the sound file.
Public property Mix
Gets or sets a value indicating whether to mix this sound with any other sound already playing. If this flag is false, any previously playing sound is stopped before starting this sound; this can be used to stop a repeating sound. Default value: false.
Public property NextAction
Gets or sets the next action to be performed after the action represented by this instance.
(Inherited from PdfAction .)
Public property Repeat
Gets or sets a value indicating whether to repeat the sound indefinitely. If this entry is present, theproperty is ignored. Default value: false.
Public property Sound
Gets or sets the sound.
Public property Synchronous
Gets or sets a value whether to play the sound synchronously or asynchronously. If this flag is true, the viewer application retains control, allowing no further user interaction other than canceling the sound, until the sound has been completely played. Default value: false.
Public property Volume
Gets or sets the volume at which to play the sound, in the range -1.0 to 1.0.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Initialize (Overrides PdfAction Initialize .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also