IHTMLTextRangeMetrics2 interface

This interface enables you to programmatically access the client and bounding rectangles of the IHTMLTxtRange object.

Members

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

Methods

The IHTMLTextRangeMetrics2 interface has these methods.

MethodDescription
getBoundingClientRect

Retrieves an object that specifies the bounds of a collection of TextRectangle objects.

getClientRects

Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client. Each rectangle describes a single line.

 

Requirements

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

 

 

Show: