Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlaybackSession.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 in the currently playing media item.

public:
 property unsigned int NaturalVideoHeight { unsigned int get(); };
uint32_t NaturalVideoHeight();
public uint NaturalVideoHeight { get; }
var uInt32 = mediaPlaybackSession.naturalVideoHeight;
Public ReadOnly Property NaturalVideoHeight As UInteger

Property Value

UInt32

unsigned int

uint32_t

The height of the video in the currently playing media item, in pixels.

Remarks

If the currently playing media item is audio-only, the value of this property is 0.

Applies to


Feedback

Was this page helpful?