MediaRatio MediaRatio MediaRatio MediaRatio Class

Represents ratios used in media operations.

Syntax

Declaration

public sealed class MediaRatiopublic sealed class MediaRatioPublic NotInheritable Class MediaRatio

Remarks

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

Properties summary

The denominator of the MediaRatio.

The numerator of the MediaRatio.

Properties

  • Denominator
    Denominator
    Denominator
    Denominator

    The denominator of the MediaRatio.

    public uint Denominator { get; set; }public uint Denominator { get; set; }Public ReadWrite Property Denominator As uint

    Property Value

    • uint
      uint
      uint
      uint

      The denominator value.

  • Numerator
    Numerator
    Numerator
    Numerator

    The numerator of the MediaRatio.

    public uint Numerator { get; set; }public uint Numerator { get; set; }Public ReadWrite Property Numerator As uint

    Property Value

    • uint
      uint
      uint
      uint

      The numerator value.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute

Details

Assembly

Windows.Media.MediaProperties.dll