Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IHTMLTextRangeMetrics interface

This interface exposes information about the position of a TextRange object. This enables greater control and definition of any object on a page, thereby providing enhanced accessibility support to users.

Members

The IHTMLTextRangeMetrics interface inherits from the IDispatch interface. IHTMLTextRangeMetrics also has these types of members:

Properties

The IHTMLTextRangeMetrics interface has these properties.

PropertyDescription

boundingHeight

Retrieves the height of the rectangle that bounds the TextRange object.

boundingLeft

Retrieves the distance between the left edge of the rectangle that bounds the TextRange object and the left side of the object that contains the TextRange.

boundingTop

Retrieves the distance between the top edge of the rectangle that bounds the TextRange object and the top side of the object that contains the TextRange.

boundingWidth

Retrieves the width of the rectangle that bounds the TextRange object.

offsetLeft

Retrieves the calculated left position of the object relative to the layout or coordinate parent, as specified by the IHTMLElement::offsetParent property.

offsetTop

Retrieves the calculated top position of the object relative to the layout or coordinate parent, as specified by the IHTMLElement::offsetParent property.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.