MediaElement.NaturalVideoHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.