Click to return to the Reusing Browser Technology home page    
IHTMLTextRangeMetrics::ge...     IHTMLTextRangeMetrics2::g...     IHTMLTextRangeMetrics2 In...    
Web Workshop  |  Reusing Browser Technology

IHTMLTextRangeMetrics2 Interface


The TextRangeMetrics2 interface provides the ability to programmatically access the client and bounding rectangles of the TextRange object.

IHTMLTextRangeMetrics2 Methods

getBoundingClientRect Retrieves an object that specifies the bounds of a collection of TextRectangle objects.
getClientRects Retrieves a collection of rectangles that describe the layout of the contents of an object or range within the client. Each rectangle describes a single line.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.