共用方式為


MediaRatio 類別

定義

表示媒體作業中使用的比率。

public ref class MediaRatio sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaRatio final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaRatio
Public NotInheritable Class MediaRatio
繼承
Object Platform::Object IInspectable MediaRatio
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

此物件不會直接具現化,而且會由 VideoEncodingProperties.FrameRateVideoEncodingProperties.PixelAspectRatio 屬性傳回。

屬性

Denominator

MediaRatio 的分母。

Numerator

MediaRatio 的分子。

適用於