VideoContent Class
Represents a Video that has an associated content that is either embedded in or linked to the presentation file.
public sealed class VideoContent : MediaContent
Public NotInheritable Class VideoContent
Inherits MediaContent
- Inheritance:
- System.ObjectVideoContent
Properties
ContentType
Gets the type of the video content.
public VideoContentType ContentType { get; }
Public ReadOnly Property ContentType As VideoContentType
Property Value
The type of the video content.
MediaType
Gets the Video value.
public override MediaType MediaType { get; }
Public Overrides ReadOnly Property MediaType As MediaType
Property Value
Overrides
Methods
SetContent(VideoContentType, Stream)
Sets the video content.
public Content SetContent(VideoContentType contentType, Stream stream)
Public Function SetContent(contentType As VideoContentType, stream As Stream) As Content
Parameters
contentType
- VideoContentType
Content type of the video content.
stream
- System.IO.Stream
The video content stream.
Returns
Exceptions
- System.ArgumentNullException
stream
is null.
Inherited Properties
Bookmarks | Gets the collection of bookmarks on the media. (Inherited from MediaObject) |
Content | Gets or sets the media content (audio or video data encoded in a particular format) that is either embedded in or linked to the presentation file. (Inherited from MediaContent) |
Fade | Gets the starting and ending fade durations for the media. (Inherited from MediaObject) |
IsFile | Gets the true value since this media has an associated content that is either embedded in or linked to the presentation file. (Inherited from MediaContent) |
Picture | Gets the Picture associated with this media. (Inherited from MediaObject) |
Trim | Gets the amount of time to be trimmed from the start and end of the media during playback. (Inherited from MediaObject) |
Inherited Methods
SetContent(System.String) | Sets the media content (audio or video data encoded in a particular format). (Inherited from MediaContent) |
SetContent(System.String, System.IO.Stream) | Sets the media content (audio or video data encoded in a particular format). (Inherited from MediaContent) |