티스토리 뷰

반응형

[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# #멀티디스플레이 #해상도구하기 

반응형
댓글
반응형