다음을 통해 공유


NaturalVideoHeight

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the height of the video that is associated with the media.

value = object.NaturalVideoHeight

Property Value

Type: Double

The height of the video that is associated with the media, in pixels. Audio files will return 0.

This property is read-only. The default value is 0.

Managed Equivalent

NaturalVideoHeight

Remarks

The property value is not available until the MediaOpened event has been raised.

Applies To

MediaElement