NaturalVideoHeight Property

Gets the height of the video display at which the resource appears best.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

'Declaration
Public ReadOnly Property NaturalVideoHeight As Integer
'Usage
Dim instance As SmoothStreamingMediaElement
Dim value As Integer

value = instance.NaturalVideoHeight

Property Value

Type: System..::..Int32
The height of the video display at which the resource appears best.

To avoid reformatting the display and to avoid unnecessary processor load, do not assign the height and width properties of the SmoothStreamingMediaElement in the XAML specification. Instead, use the dimensions at which the video was encoded.

Silverlight

Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Show: