c#
[c#/wpf] 윈도우 해상도 구하기(멀티 디스플레이 포함)
개발자 고포고
2022. 12. 8. 21:23
반응형
[c#/wpf] 윈도우 해상도 구하기(멀티 디스플레이 포함)
Screen[] sc = Screen.AllScreens;
int width_size = sc[0].WorkingArea.Width;
int height_size = sc[0].WorkingArea.Height;
int width = 0;
sc.ToList().ForEach(a => width += a.WorkingArea.Width);
#wpf #c# #멀티디스플레이 #해상도구하기
반응형