MediaPlaybackSession.NaturalVideoWidth 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 width of the video in the currently playing media item.
public:
property unsigned int NaturalVideoWidth { unsigned int get(); };
uint32_t NaturalVideoWidth();
public uint NaturalVideoWidth { get; }
var uInt32 = mediaPlaybackSession.naturalVideoWidth;
Public ReadOnly Property NaturalVideoWidth As UInteger
Property Value
The width 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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for