MediaElement.NaturalVideoHeight 屬性

定義

取得與媒體關聯的視訊高度。

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

屬性值

與媒體關聯的視訊高度。 音訊檔會傳回零。

備註

NaturalVideoHeight 在引發事件之前 MediaOpened 並不精確。

適用於