Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

↑

boundingLeft Property

Retrieves the distance between the left edge of the rectangle that bounds the TextRange object and the left side of the object that contains the TextRange .

Syntax

[ iLeft = ] TextRange . boundingLeft

Possible Values

iLeft Integer that receives the left coordinate 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 boundingLeft property for the given text area.

 

<SCRIPT>
function boundDim(oObject)
{ var collTextarea = document.all.tags("TEXTAREA");
if (collTextarea != null)
{ var oTextRage = oObject.createTextRange();
if (oTextRange != null)
{ alert("The bounding left is \n" + oTextRange. boundingLeft ); } } }
</SCRIPT>
</HEAD>
<BODY>
<TEXTAREA COLS=100 ROWS=2 ID=oTextarea onclick="boundDim(this)"> . . . </TEXTAREA>

Standards Information

There is no public standard that applies to this property.

Applies To

[ Object Name ] Platform Version
Win16:
Win32:
Windows CE:
Unix:
 
TextRange
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

→→