Retrieves the height of the rectangle that bounds the TextRange object.
Property of dom/TextRangedom/TextRange
SyntaxNote: This property is read-only.
var result = object.boundingHeight;
Return Value
Returns an object of type NumberNumber
the height of the bounding rectangle, in pixels.
ExamplesThis example retrieves the value of the boundingHeight property for the given text area.
<script type="text/javascript">
function boundDim(oObject)
{
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>
Syntax Attributions
Microsoft Developer Network: [boundingHeight Property Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4