Get the Width and Height of Any Window in C# with GetWindowRect
Read the position and size of any window, including other applications’ windows, with the GetWindowRect API in C#, plus the DPI and border traps.
Read the position and size of any window, including other applications’ windows, with the GetWindowRect API in C#, plus the DPI and border traps.