ITextProvider::get_DocumentRange method

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

   
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