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 | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

ITextProvider

ITextRangeProvider

Reference

UI Automation Providers Overview