ITextProvider.RangeFromChild(IRawElementProviderSimple) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.