OverlaySurface Class

Allows applications to access a drawing (overlay) surface above the video surface. ARGB bitmaps can be rendered into this drawing surface. Both surfaces are composited together to show an alpha-blended bitmap over video.

  public class OverlaySurface : Microsoft.MediaCenter.UI.IPropertyObject

Members

Public Instance Methods

Method Description
Allocate Allocates the memory for the bitmap on the drawing surface.
BeginRegionUpdates Starts a logical grouping of region updates.
EndRegionUpdates Ends the sequence of region updates on the overlay surface.
Free Frees the memory associated with the drawing overlay surface.
UpdateRegion Updates a region on the overlay surface.

Public Instance Properties

Property Description
AnimationLevel Gets a value that indicates the recommended animation level for the overlay surface.
RenderingMode Gets an object that describes the current rendering mode and coordinate system in which the application runs.
Visible Gets or sets a value indicating whether to enable or disable rendering of the overlay surface.

Public Instance Events

Event Description
PropertyChanged Event Fires when the RenderingMode property changes.

Requirements

Reference: Microsoft.MediaCenter.ITVVM

Namespace: Microsoft.MediaCenter.TVVM

Assembly: Microsoft.MediaCenter.ITVVM.dll

Platform: Windows 7

See Also