DisplayModeInfo.PhysicalPresentationRate 属性

定义

获取或设置在) 虚拟化刷新率时显示器扫描像素 (的实际物理速率。

DisplayPresentationRate PhysicalPresentationRate();
public DisplayPresentationRate PhysicalPresentationRate { get; }
var displayPresentationRate = displayModeInfo.physicalPresentationRate;
Public ReadOnly Property PhysicalPresentationRate As DisplayPresentationRate

属性值

DisplayPresentationRate 对象,表示显示器扫描像素的实际物理速率。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

注解

从 Windows 11 开始,如果物理显示器能够虚拟化刷新率,并且不一定表示线路上的实际像素速率,则 DisplayPresentationRate 将虚拟化。

若要确定显示器扫描像素的实际物理速率,请在创建 DisplayManager 和 DisplayPath 对象时使用标志 DisplayManagerOptions::VirtualRefreshRateAware

如果应用程序的 DisplayManager 无法识别虚拟刷新率,则无法访问 PhysicalPresentationRate

适用于