MediaPlayer.NaturalVideoWidth Property

Definition

Gets the pixel width of the video.

public:
 property int NaturalVideoWidth { int get(); };
public int NaturalVideoWidth { get; }
member this.NaturalVideoWidth : int
Public ReadOnly Property NaturalVideoWidth As Integer

Property Value

The pixel width of the video.

Remarks

Null is returned if the media type is audio.

Applies to