TextRange.boundingWidth (Property)

The width of a selected text on the page.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IEmyTextRange.boundingWidth

TextRange objects use their start and end points to map into the physical display of the text on the screen. Although it may not be visible, the text range nevertheless corresponds to a spatial extent rectangle that can be described using pixel coordinates. The value of this property is the width of the extent rectangle that currently encloses the text encapsulated by the TextRange object.

See also:TextRange.boundingHeight

Property attributes: