跳到主要内容

ScreenInfo

显示器信息(物理像素)。

构造​

ScreenInfo(Rect Bounds, Rect WorkArea, int Dpi, bool Primary, string? Id = null, string? Name = null)

属性​

属性类型说明
BoundsRect见类型说明。
WorkAreaRect工作区(不含任务栏)。
Dpiint有效 DPI(96 为 100%)。
Primarybool是否主显示器。
Idstring?显示器设备标识,可传给 qk.Sys.GetBrightness/SetBrightness 的 screen;取不到为 null。
Namestring?显示器名称(通常为型号);取不到为 null。