ImageCue ImageCue ImageCue ImageCue ImageCue Class


Represents a image cue that can be included in a TimedMetadataTrack.

public : sealed class ImageCue : IMediaCue
struct winrt::Windows::Media::Core::ImageCue : IMediaCue
public sealed class ImageCue : IMediaCue
Public NotInheritable Class ImageCue Implements IMediaCue
var imageCue = new imageCue();

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)


An ImageCue can be added to a TimedMetadataTrack with the AddCue method. When the cue's start time is reached, the CueEntered event is raised and you can use the MediaCueEventArgs passed into the handler to get a copy of the ImageCue.


ImageCue() ImageCue() ImageCue() ImageCue() ImageCue()

Initializes a new instance of the ImageCue class.


Duration Duration Duration Duration Duration

Gets or sets the duration of the cue.

Extent Extent Extent Extent Extent

Gets or sets the extent of the ImageCue, which is the rendered size of the assoociated image either in pixels or in percentage of available space.

Id Id Id Id Id

Gets the identifier for the timed metadata track.

Position Position Position Position Position

Gets or sets the position of the image associated with the ImageCue, relative to the top left corner of the video frame.

SoftwareBitmap SoftwareBitmap SoftwareBitmap SoftwareBitmap SoftwareBitmap

Gets or sets the image associated with the image cue.

StartTime StartTime StartTime StartTime StartTime

Gets the start time of the cue.