Method SetWindowRect SetWindowRect(nint, Rectangle) Declaration public static bool SetWindowRect(nint hwnd, Rectangle rect) Parameters Type Name Description nint hwnd Rectangle rect Returns Type Description bool