SmoothStreamingMediaElement.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)
Syntax
'Declaration
Public ReadOnly Property NaturalVideoHeight As Integer
Get
'Usage
Dim instance As SmoothStreamingMediaElement
Dim value As Integer
value = instance.NaturalVideoHeight
public int NaturalVideoHeight { get; }
public:
property int NaturalVideoHeight {
int get ();
}
member NaturalVideoHeight : int
function get NaturalVideoHeight () : int
Property Value
Type: System.Int32
The height of the video display at which the resource appears best.
Remarks
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.
Version Information
Silverlight
Supported in: 5
Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0