Javascript Reference
Categories: OBJECT

javascript OBJECT getClientRects( )

@March 15, 2008, 1:22 a.m.
getClientRects( )Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

  

Returns an array of IE TextRectangle objects. Each entry of the array is a TextRectangle object for a single line of a multiline text element. Lines that have different font sizes or line heights will be encased by rectangles that are of different heights. See the TextRectangle object for its properties. To obtain one TextRectangle object for an entire element, use the getBoundingClientRect( ) method.

 
Parameters

None.

 
Returned Value

Array of TextRectangle objects.


Powered by Linode.