MediaElement.NaturalVideoHeight 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與媒體相關的影片高度。
public:
property int NaturalVideoHeight { int get(); };
public int NaturalVideoHeight { get; }
member this.NaturalVideoHeight : int
Public ReadOnly Property NaturalVideoHeight As Integer
屬性值
影片高度與媒體相關。 音訊檔案會回傳零。
備註
NaturalVideoHeight 在 MediaOpened 事件被提出之前,並不準確。