Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves the height of the rectangle that bounds the TextRange object.
Syntax
[ iHeight = ] TextRange . boundingHeightPossible Values
iHeight | Integer that receives the height of the bounding rectangle, in pixels. |
The property is read-only. The property has no default value.
Example
This example retrieves the value of the boundingHeight property for the given text area.
<SCRIPT>
function boundDim(oObject)
{ var collTextarea = document.all.tags("TEXTAREA");
if (collTextarea != null) { var oTextRange = oObject.createTextRange();
if (oTextRange != null)
{ alert("The bounding height is \n" + oTextRange. boundingHeight ); } } }
</SCRIPT>
</HEAD>
<BODY>
<TEXTAREA COLS=100 ROWS=2 ID=oElmnt1 onclick="boundDim(this)"> . . . </TEXTAREA>
Standards Information
There is no public standard that applies to this property.
Applies To
|
TextRange |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |