Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.2 KB
Raw Blame

get_DocumentRange

Original Documentation

ITextProvider::get_DocumentRange method (uiautomationcore.h)

Retrieves a text range that encloses the main text of a document.

This property is read-only.

Syntax

HRESULT get_DocumentRange(
  ITextRangeProvider **pRetVal
);

Parameters

pRetVal

Return value

None

Remarks

Some auxiliary text such as headers, footnotes, or annotations may not be included.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps
Minimum supported server Windows Server 2003 [desktop apps
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

ITextProvider

ITextRangeProvider

Reference

UI Automation Providers Overview