SoundAnnotation.SoundAnnotation

SoundAnnotation(Page, Rectangle, string)

Creates new Sound annotation on the specified page.

public SoundAnnotation(Page page, Rectangle rect, string soundFile)
ParameterTypeDescription
pagePageThe document’s page where annotation should be created.
rectRectangleThe annotation rectangle, defining the location of the annotation on the page.
soundFileStringA sound file defining the sound to be played when the annotation is activated.

See Also


SoundAnnotation(Page, Rectangle, string, SoundSampleData)

Creates new Sound annotation on the specified page.

public SoundAnnotation(Page page, Rectangle rect, string soundFile, SoundSampleData soundSampleData)
ParameterTypeDescription
pagePageThe document’s page where annotation should be created.
rectRectangleThe annotation rectangle, defining the location of the annotation on the page.
soundFileStringA sound file defining the sound to be played when the annotation is activated.
soundSampleDataSoundSampleDataA sound sample data contains extra of sound parameters such as sampling rate, bits per sample and so on.

See Also