HorizontalResolutionHorizontalResolution

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

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | Display | 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 輸出會將顯示解析度設定為 1024 x 768 解析度,使用 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