VideoCollection

VideoCollection class

Represents a collection of Video objects.

public class VideoCollection : DomObject<Presentation>, IVideoCollection

Properties

NameDescription
Count { get; }Returns a number of video 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 IVideo.
SyncRoot { get; }Returns a synchronization root. Read-only Object.

Methods

NameDescription
AddVideo(byte[])Creates and adds a video to a presentation from byte array.
AddVideo(IVideo)Adds a copy of an video file from an another presentation.
AddVideo(Stream)Creates and adds a video to a presentation from stream.
AddVideo(Stream, LoadingStreamBehavior)Creates and adds a video to a presentation from stream.
CopyTo(Array, int)Copies videos to specified array starting from specified index.
GetEnumerator()Returns an enumerator that iterates through the collection.

See Also