MediaRatio MediaRatio MediaRatio MediaRatio Class

Definition

Represents ratios used in media operations.

public : sealed class MediaRatio : IMediaRatiopublic sealed class MediaRatio : IMediaRatioPublic NotInheritable Class MediaRatio Implements IMediaRatio// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

Denominator Denominator Denominator Denominator

The denominator of the MediaRatio.

public : unsigned int Denominator { get; set; }public uint Denominator { get; set; }Public ReadWrite Property Denominator As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The denominator value.

Numerator Numerator Numerator Numerator

The numerator of the MediaRatio.

public : unsigned int Numerator { get; set; }public uint Numerator { get; set; }Public ReadWrite Property Numerator As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The numerator value.