AudioCollection

AudioCollection class

Represents a collection of embedded audio files.

public class AudioCollection : DomObject<Presentation>, IAudioCollection

Properties

Name Description
Count { get; } Returns a number of audio files in the collection. Read-only Int32.
IsSynchronized { get; } Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Item { get; } Gets the element at the specified index. Read-only IAudio.
SyncRoot { get; } Returns a synchronization root. Read-only Object.

Methods

Name Description
AddAudio(byte[]) Creates and adds a audio to a presentation from byte array.
AddAudio(IAudio) Adds a copy of an audio file from an another presentation.
AddAudio(Stream) Creates and adds a audio to a presentation from stream.
AddAudio(Stream, LoadingStreamBehavior) Creates and adds a audio to a presentation from stream.
CopyTo(Array, int) Copies audios to specified array starting from specified index.
GetEnumerator() Returns an enumerator that iterates through the collection.

See Also