Click or drag to resize

PdfSoundAction Class

Represents a sound action. A sound action plays a sound through the computer’s speakers.
Inheritance Hierarchy
System.Object
  Patagames.Pdf.Net.PdfAction
    Patagames.Pdf.Net.Actions.PdfSoundAction

Namespace: Patagames.Pdf.Net.Actions
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public class PdfSoundAction : PdfAction

The PdfSoundAction type exposes the following members.

Constructors
 NameDescription
Public methodPdfSoundAction(PdfDocument, PdfSound) Initializes a new instance of the PdfSoundAction class with the document and the destination.
Public methodPdfSoundAction(PdfDocument, IntPtr) Initializes a new instance of the PdfAction class.
Top
Properties
 NameDescription
Public propertyMix Gets or sets a flag specifying whether to mix this sound with any other sound already playing.
Public propertyRepeat Gets or sets a flag specifying whether to repeat the sound indefinitely. If this property is set to true, the Synchronous property is ignored.
Public propertySound Gets or sets a sound object defining the sound to be played.
Public propertySynchronous Gets or sets a flag specifying whether to play the sound synchronously or asynchronously.
Public propertyVolume Gets or sets the volume at which to play the sound, in the range −1.0 to 1.0;
Top
See Also