Dela via


ITextProvider.RangeFromChild(IRawElementProviderSimple) Method

Definition

Retrieves a text range that encloses a child element, such as an image, hyperlink, or other embedded object.

public:
 ITextRangeProvider ^ RangeFromChild(IRawElementProviderSimple ^ childElement);
ITextRangeProvider RangeFromChild(IRawElementProviderSimple const& childElement);
public ITextRangeProvider RangeFromChild(IRawElementProviderSimple childElement);
function rangeFromChild(childElement)
Public Function RangeFromChild (childElement As IRawElementProviderSimple) As ITextRangeProvider

Parameters

childElement
IRawElementProviderSimple

The enclosed object.

Returns

A range that spans the child element.

Applies to