function GetDesktopCenterRect(const Size: TSize): TRect;
System::Types::TRect __fastcall GetDesktopCenterRect(const System::Types::TSize &Size);
The behavior of GetDesktopCenterRect depends on a platform. GetDesktopCenterRect tries to position the returned rectangle in the way that the whole rectangle is visible. On mobile platforms, GetDesktopCenterRect always returns a rectangular positioned in one display. If a whole centered rectangle cannot be positioned in a single display, then the rectangle is moved to be positioned in the display nearest to the center of the virtual screen. The returned rectangle can be truncated to fit into a single display.