Freigeben über


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

Properties

The IHTMLTextRangeMetrics interface has these properties.

Property Description

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

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch