Επεξεργασία

Κοινή χρήση μέσω


MediaElement.NaturalVideoHeight Property

Definition

Gets the height of the video associated with the media.

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

Property Value

The height of the video associated with the media. Audio files will return zero.

Remarks

NaturalVideoHeight is not accurate until the MediaOpened event has been raised.

Applies to