Click or drag to resize

PdfSoundAnnotation Class

A sound annotation (PDF 1.2) is analogous to a text annotation except that instead of a text note, it contains sound recorded from the computer’s microphone or imported from a file. When the annotation is activated, the sound is played. The annotation behaves like a text annotation in most ways, with a different icon (by default, a speaker) to indicate that it represents a sound.
Inheritance Hierarchy

Namespace: Patagames.Pdf.Net.Annotations
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class PdfSoundAnnotation : PdfMarkupAnnotation

The PdfSoundAnnotation type exposes the following members.

Constructors
 NameDescription
Public methodPdfSoundAnnotation(PdfPage) Creates a new PdfSoundAnnotation.
Public methodPdfSoundAnnotation(PdfPage, PdfTypeBase) Initializes a new instance of the PdfScreenAnnotation class based on the specified dictionary.
Public methodPdfSoundAnnotation(PdfPage, SoundIconNames, Single, Single, PdfSound) Creates a new PdfSoundAnnotation with specified parameters.
Public methodPdfSoundAnnotation(PdfPage, SoundIconNames, FS_COLOR, Single, Single, PdfSound) Creates a new PdfSoundAnnotation with specified parameters.
Public methodPdfSoundAnnotation(PdfPage, SoundIconNames, Single, Single, Byte, SoundEncodingFormats, Int32, Int32, Int32) Creates a new PdfSoundAnnotation with specified parameters.
Public methodPdfSoundAnnotation(PdfPage, SoundIconNames, FS_COLOR, Single, Single, Byte, SoundEncodingFormats, Int32, Int32, Int32) Creates a new PdfSoundAnnotation with specified parameters.
Top
Properties
 NameDescription
Public propertyExtendedIconName The name of an icon to be used in displaying the annotation.
Public propertySound Gets or sets a sound object defining the sound to be played when the annotation is activated.
Public propertyStandardIconName The name of an icon to be used in displaying the annotation.
Top
Methods
 NameDescription
Public methodRegenerateAppearances Re-creates the appearance of the annotation based on its properties.
(Overrides PdfMarkupAnnotationRegenerateAppearances)
Top
See Also