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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Objects » TextRectangle 
'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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.