UiaRect 結構 (uiautomationcore.h)

包含矩形在螢幕座標中的位置和大小。

語法

struct UiaRect {
  double left;
  double top;
  double width;
  double height;
};

成員

left

類型: double

左側的位置。

top

類型: double

頂端的位置。

width

類型: double

寬度。

height

類型: double

高度。

需求

   
最低支援的用戶端 Windows XP [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2003 [傳統型應用程式 |UWP 應用程式]
標頭 uiautomationcore.h (包含 UIAutomation.h)