Share via


IUIAutomationTextPattern::get_DocumentRange 方法 (uiautomationclient.h)

擷取包含檔主文字的文字範圍。

這個屬性是唯讀的。

語法

HRESULT get_DocumentRange(
  IUIAutomationTextRange **range
);

參數

range

傳回值

備註

可能不會包含某些輔助文字,例如頁首、腳注或批注。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista sp2 和 Platform Update for Windows Vista、Windows XP with SP3 和 Platform Update for Windows Vista [僅限桌面應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

IUIAutomationTextPattern

使用者介面自動化 支援文字內容