The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.
This article is Not Ready.
The return value of the getComputedTextLength method enables Windows Internet Explorer to make reasonable assumptions about the glyph metrics for non-rendering processes.
The total text advance distance includes the advance values on the glyphs (horizontal or vertical), kerning effects, letter-spacing effects, word-spacing effects, and adjustments because of the dx and dy attributes on SVGTSpanElement elements.
float retVal = object.getComputedTextLength();
- Scalable Vector Graphics: Text, Section 10.17.1
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]