This method evaluates the current start and end points of the text range and works out the pixel locations of a bounding rectangle in the display screen. These are then used to instantiate a textRectangle object which is returned with the extent rectangle of the TextRange object as its values.
A TextRange may describe several discontinuous blocks of text. Each one of these would be bounded by a separate client rectangle. This extent rectangle bounds the entire set.
See also: | Rect object, textRectangle object |
Prev | Home | Next |
TextRange.getBookmark() | Up | TextRange.getClientRects() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |