Export (0) Print
Expand All
Expand Minimize

NaturalVideoWidth Property

Gets the width of 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
PublicReadOnlyPropertyNaturalVideoWidthAsInteger
'Usage
DiminstanceAsSmoothStreamingMediaElementDimvalueAsIntegervalue = instance.NaturalVideoWidth

Property Value

Type: System..::..Int32
The width of 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:
© 2014 Microsoft