HorizontalResolution (microsoft-shell-HorizontalResolution) HorizontalResolution (microsoft-windows-shell-setup-display-horizontalresolution)

HorizontalResolution 指定显示设备的水平分辨率。HorizontalResolution specifies the horizontal resolution for the display device.

Values

分辨率Resolution

指定水平分辨率(以像素为单位)。Specifies the horizontal resolution, in pixels. 解决方法 是整数。Resolution is an integer.

有效的配置阶段Valid Configuration Passes

auditSystemauditSystem

auditUserauditUser

oobeSystemoobeSystem

specializespecialize

父层次结构Parent Hierarchy

Microsoft-Shell-安装程序 | 显示 | HorizontalResolutionMicrosoft-Windows-Shell-Setup | Display | HorizontalResolution

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows Shell 设置For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 示例XML Example

下面的 XML 输出将显示分辨率设置为1024x768,32位颜色深度,刷新率为72赫兹,120为 dpi。The following XML output sets the display resolution to 1024x768, with 32-bit color depth, a refresh rate of 72 hertz, and 120 dpi.

<Display>
   <ColorDepth>32</ColorDepth>
   <DPI>120</DPI>
   <HorizontalResolution>1024</HorizontalResolution>
   <RefreshRate>72</RefreshRate>
   <VerticalResolution>768</VerticalResolution>
</Display>

显示器Display