ITextProvider::DocumentRange property

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

This property is read-only.

Syntax


HRESULT get_DocumentRange(
  [out, retval] ITextRangeProvider **pRetVal
);

Property value

Type: ITextRangeProvider**

The provider interface of the text range. This parameter is passed uninitialized.

Remarks

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

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

Reference
ITextProvider
ITextRangeProvider
UI Automation Providers Overview

 

 

Show: