MediaRatio MediaRatio MediaRatio MediaRatio MediaRatio Class


Represents ratios used in media operations.

public : sealed class MediaRatio : IMediaRatio
struct winrt::Windows::Media::MediaProperties::MediaRatio : IMediaRatio
public sealed class MediaRatio : IMediaRatio
Public NotInheritable Class MediaRatio Implements IMediaRatio
// This class does not provide a public constructor.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


This object is not instantiated directly, it is returned by the VideoEncodingProperties.FrameRate and VideoEncodingProperties.PixelAspectRatio properties.


Denominator Denominator Denominator Denominator Denominator

The denominator of the MediaRatio.

Numerator Numerator Numerator Numerator Numerator

The numerator of the MediaRatio.