July 1998
Intermediate to advanced
1456 pages
65h 5m
English
boundingHeight, boundingWidth — NN n/a IE 4 DOM n/a
Read-only
Returns the pixel measure of the imaginary space occupied by the
TextRange object. Although you do not see a
TextRange object in the document (unless a script
selects it), the area of a TextRange object is
identical to the area that a selection highlight would occupy. These
values cinch up to measure only as wide or tall as the widest and
tallest part of the range.
var rangeWidth = document.forms[0].myTextArea.createTextRange( ).boundingWidth
Integer.
None.
Read now
Unlock full access