'TextRectangle' Syntax and Note : TextRectangle « Javascript Objects « JavaScript Reference

'TextRectangle' Syntax and Note

Note:

Access to the container rectangle of the text. 
To create this object, you must use the getClientRects() or 
getBoundingClientRect() method.
    
Syntax:
    
textRectangleName = document.all.elementID.getClientRects()
textRectangleName = document.all.elementID.getBoundingClientRect()
textRectangleName.memberName

    

      
      








Related examples in the same category

1.'TextRectangle' Example
2.'TextRectangle' JavaScript Properties