擷取包含檔主文字的文字範圍。
這個屬性是唯讀的。
語法
HRESULT get_DocumentRange(
ITextRangeProvider **pRetVal
);
參數
pRetVal
傳回值
無
備註
可能不會包含某些輔助文字,例如頁首、註腳或注釋。
規格需求
| 最低支援的用戶端 | Windows XP [傳統型應用程式 |UWP 應用程式] |
| 最低支援的伺服器 | Windows Server 2003 [傳統型應用程式 |UWP 應用程式] |
| 目標平台 | Windows |
| 標頭 | uiautomationcore.h (包含 UIAutomation.h) |
另請參閱
參考