MediaOverlay Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an overlay that can be used in a media composition.
public ref class MediaOverlay sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Editing.IMediaOverlayFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaOverlay final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Editing.IMediaOverlayFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MediaOverlay final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Editing.IMediaOverlayFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaOverlay
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Editing.IMediaOverlayFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MediaOverlay
function MediaOverlay(clip, position, opacity)
Public NotInheritable Class MediaOverlay
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Constructors
MediaOverlay(MediaClip, Rect, Double) |
Initializes a new instance of the MediaOverlay class. |
MediaOverlay(MediaClip) |
Initializes a new instance of the MediaOverlay class. |
Properties
AudioEnabled |
Gets or sets a value indicating whether audio is enabled for the MediaOverlay. |
Clip |
Gets the media clip to be used for the overlay. |
Delay |
Gets or sets the time span from the start of the clip after which the media overlay should be rendered. |
Opacity |
Gets the opacity of the overlay. |
Position |
Gets the position of the overlay. |
Methods
Clone() |
Creates a MediaOverlay object that is identical to this instance. |